summaryrefslogtreecommitdiffstats
path: root/astro
diff options
context:
space:
mode:
authornaddy <naddy@FreeBSD.org>2002-08-16 11:48:12 +0000
committernaddy <naddy@FreeBSD.org>2002-08-16 11:48:12 +0000
commit09b9cb7c9c2464011377770cb6b43ad8213c37c9 (patch)
tree4482e13c7d5ee54948ef765b2461727292152809 /astro
parent7e9091756f1e478e065a65b6dd973b16a3272157 (diff)
downloadFreeBSD-ports-09b9cb7c9c2464011377770cb6b43ad8213c37c9.zip
FreeBSD-ports-09b9cb7c9c2464011377770cb6b43ad8213c37c9.tar.gz
Fix LP64 issues.
Approved by: pat
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 0000000..d62320a
--- /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 0000000..9fe4c27
--- /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> */
OpenPOWER on IntegriCloud