summaryrefslogtreecommitdiff
path: root/astro
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@FreeBSD.org>2002-08-16 11:48:12 +0000
committerChristian Weisgerber <naddy@FreeBSD.org>2002-08-16 11:48:12 +0000
commitbd5890dc829d37b58c2776950542b9fef0ed5197 (patch)
tree26c438fe063cf20b7a74c8e9f9a757e98b6c6259 /astro
parentUpdate to 0.3.3. (now supports db 4.1.16) (diff)
Fix LP64 issues.
Approved by: pat
Notes
Notes: svn path=/head/; revision=64574
Diffstat (limited to 'astro')
-rw-r--r--astro/gkrellmoon/files/patch-CalcEphem.c13
-rw-r--r--astro/gkrellmoon/files/patch-gkrellmoon.c16
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> */