aboutsummaryrefslogtreecommitdiff
path: root/astro/gkrellsun
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2008-03-12 12:21:01 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2008-03-12 12:21:01 +0000
commit9f33b2e31d90d7188633ce7320c4b4804a6545f1 (patch)
treed827da5b283c68766f5837190afafcb1cdc77960 /astro/gkrellsun
parente14ebc78644e8d171110db5ef6205c6ac92c3719 (diff)
downloadports-9f33b2e31d90d7188633ce7320c4b4804a6545f1.tar.gz
ports-9f33b2e31d90d7188633ce7320c4b4804a6545f1.zip
Notes
Diffstat (limited to 'astro/gkrellsun')
-rw-r--r--astro/gkrellsun/Makefile3
-rw-r--r--astro/gkrellsun/files/patch-CalcEphem.c17
2 files changed, 12 insertions, 8 deletions
diff --git a/astro/gkrellsun/Makefile b/astro/gkrellsun/Makefile
index 16ae3c97f910..ae9708ea6aea 100644
--- a/astro/gkrellsun/Makefile
+++ b/astro/gkrellsun/Makefile
@@ -7,7 +7,7 @@
PORTNAME= gkrellsun
PORTVERSION= 0.2
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= astro
MASTER_SITES= http://nwalsh.com/hacks/gkrellsun/
@@ -18,7 +18,6 @@ BUILD_DEPENDS= ${X11BASE}/include/gkrellm/gkrellm.h:${PORTSDIR}/sysutils/gkrellm
RUN_DEPENDS= gkrellm:${PORTSDIR}/sysutils/gkrellm
WRKSRC= ${WRKDIR}/${DISTNAME:S/_/-/}
-USE_X_PREFIX= yes
USE_GNOME= imlib
do-install:
diff --git a/astro/gkrellsun/files/patch-CalcEphem.c b/astro/gkrellsun/files/patch-CalcEphem.c
index e358f5866496..81f642f11c9a 100644
--- a/astro/gkrellsun/files/patch-CalcEphem.c
+++ b/astro/gkrellsun/files/patch-CalcEphem.c
@@ -1,9 +1,14 @@
-
-$FreeBSD$
-
---- CalcEphem.c.orig Thu Aug 15 15:34:37 2002
-+++ CalcEphem.c Thu Aug 15 15:35:00 2002
-@@ -239,7 +239,7 @@
+--- CalcEphem.c.orig 2001-11-07 01:34:50.000000000 +0100
++++ CalcEphem.c 2008-03-12 13:14:01.000000000 +0100
+@@ -8,6 +8,7 @@
+ #include <config.h>
+ #endif
+
++#include <string.h>
+ #include <time.h>
+ #include <X11/X.h>
+
+@@ -239,7 +240,7 @@
double UTRise, UTSet;
double LTRise, LTSet;
struct tm *LocalTime;