From bd5890dc829d37b58c2776950542b9fef0ed5197 Mon Sep 17 00:00:00 2001 From: Christian Weisgerber Date: Fri, 16 Aug 2002 11:48:12 +0000 Subject: Fix LP64 issues. Approved by: pat --- astro/gkrellmoon/files/patch-CalcEphem.c | 13 +++++++++++++ astro/gkrellmoon/files/patch-gkrellmoon.c | 16 ++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 astro/gkrellmoon/files/patch-CalcEphem.c create mode 100644 astro/gkrellmoon/files/patch-gkrellmoon.c (limited to 'astro') 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 + #endif ++#include + + #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_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 */ -- cgit v1.2.3