diff options
author | Christian Weisgerber <naddy@FreeBSD.org> | 2002-08-16 11:48:12 +0000 |
---|---|---|
committer | Christian Weisgerber <naddy@FreeBSD.org> | 2002-08-16 11:48:12 +0000 |
commit | bd5890dc829d37b58c2776950542b9fef0ed5197 (patch) | |
tree | 26c438fe063cf20b7a74c8e9f9a757e98b6c6259 /astro/gkrellmoon | |
parent | 36e9306e56052ae92bbde0457d6feeef618c7e5f (diff) |
Fix LP64 issues.
Approved by: pat
Notes
Notes:
svn path=/head/; revision=64574
Diffstat (limited to 'astro/gkrellmoon')
-rw-r--r-- | astro/gkrellmoon/files/patch-CalcEphem.c | 13 | ||||
-rw-r--r-- | astro/gkrellmoon/files/patch-gkrellmoon.c | 16 |
2 files changed, 29 insertions, 0 deletions
diff --git a/astro/gkrellmoon/files/patch-CalcEphem.c b/astro/gkrellmoon/files/patch-CalcEphem.c new file mode 100644 index 000000000000..d62320a1d695 --- /dev/null +++ b/astro/gkrellmoon/files/patch-CalcEphem.c @@ -0,0 +1,13 @@ + +$FreeBSD$ + +--- CalcEphem.c.orig Thu Aug 15 20:41:03 2002 ++++ CalcEphem.c Thu Aug 15 20:41:23 2002 +@@ -8,6 +8,7 @@ + #ifdef HAVE_CONFIG_H + #include <config.h> + #endif ++#include <string.h> + + #include "CalcEphem.h" + #include "Moon.h" diff --git a/astro/gkrellmoon/files/patch-gkrellmoon.c b/astro/gkrellmoon/files/patch-gkrellmoon.c new file mode 100644 index 000000000000..9fe4c27bb399 --- /dev/null +++ b/astro/gkrellmoon/files/patch-gkrellmoon.c @@ -0,0 +1,16 @@ + +$FreeBSD$ + +--- gkrellmoon.c.orig Thu Aug 15 20:40:11 2002 ++++ gkrellmoon.c Thu Aug 15 20:41:50 2002 +@@ -55,8 +55,9 @@ + update_moon_data(Moon * moon) + { + struct tm *time_struc; /* The tm struct is defined in <time.h> */ ++ time_t current_gmt; + gdouble local_std_time, univ_time, eot; +- glong current_gmt, date; ++ glong date; + gint day_of_month, month, year; + + current_gmt = time(CurrentTime); /* CurrentTime defined in <X11/X.h> */ |