summaryrefslogtreecommitdiff
path: root/astro/wmmoonclock
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@FreeBSD.org>2002-08-30 21:27:36 +0000
committerChristian Weisgerber <naddy@FreeBSD.org>2002-08-30 21:27:36 +0000
commit1761a9c44169538687b4506c57c92fe2d66935af (patch)
treea9cbaff7da584c7a5911a5e2f70a1e8e4b6c86fc /astro/wmmoonclock
parentUpdate to 1.00. (diff)
Use time_t instead of assuming equivalence to long.
Approved by: maintainer timeout
Notes
Notes: svn path=/head/; revision=65337
Diffstat (limited to 'astro/wmmoonclock')
-rw-r--r--astro/wmmoonclock/files/patch-wmMoonClock.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/astro/wmmoonclock/files/patch-wmMoonClock.c b/astro/wmmoonclock/files/patch-wmMoonClock.c
new file mode 100644
index 000000000000..ce9d57dc3189
--- /dev/null
+++ b/astro/wmmoonclock/files/patch-wmMoonClock.c
@@ -0,0 +1,15 @@
+
+$FreeBSD$
+
+--- wmMoonClock.c.orig Thu Aug 15 18:15:26 2002
++++ wmMoonClock.c Thu Aug 15 18:15:51 2002
+@@ -162,7 +162,8 @@
+ int i, n, k, j, ImageNumber;
+ int Year, Month, DayOfWeek, DayOfMonth;
+ int Hours, Mins, Secs, OldSecs, digit, xoff, xsize;
+- long CurrentLocalTime, CurrentGMTTime, date;
++ time_t CurrentLocalTime, CurrentGMTTime;
++ long date;
+ double UT, val, RA, DEC, UTRise, UTSet, LocalHour, hour24();
+ int D, H, M, S, sgn, A, B, q;
+ char str[10];