diff options
author | gahr <gahr@FreeBSD.org> | 2008-03-12 20:21:01 +0800 |
---|---|---|
committer | gahr <gahr@FreeBSD.org> | 2008-03-12 20:21:01 +0800 |
commit | 6f66aaa795e337cae49a436c19467053acc11ff2 (patch) | |
tree | 49cf0d71e8368d38dd6d5b3d738cfdb63d21a535 /astro/gkrellsun | |
parent | f1da9fea01c5c597b7d0cd519d1345b358ccf8b2 (diff) | |
download | freebsd-ports-gnome-6f66aaa795e337cae49a436c19467053acc11ff2.tar.gz freebsd-ports-gnome-6f66aaa795e337cae49a436c19467053acc11ff2.tar.zst freebsd-ports-gnome-6f66aaa795e337cae49a436c19467053acc11ff2.zip |
- Remove useless USE_X_PREFIX variable
- Fix a "missing include" warning
Approved by: miwi (mentor)
Diffstat (limited to 'astro/gkrellsun')
-rw-r--r-- | astro/gkrellsun/Makefile | 3 | ||||
-rw-r--r-- | astro/gkrellsun/files/patch-CalcEphem.c | 17 |
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; |