summaryrefslogtreecommitdiff
path: root/astro
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@FreeBSD.org>2002-08-15 16:09:51 +0000
committerChristian Weisgerber <naddy@FreeBSD.org>2002-08-15 16:09:51 +0000
commit90e8f6b6a15a3ab5d86c1ba3437565ffb394e786 (patch)
tree4bb976f91b3e3ab2fd8980805305b3c6a21303cf /astro
parentReally commit the pkg-plist change. (diff)
Use time_t instead of assuming it to be of type long.
Notes
Notes: svn path=/head/; revision=64544
Diffstat (limited to 'astro')
-rw-r--r--astro/wmsun/files/patch-wmSun.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/astro/wmsun/files/patch-wmSun.c b/astro/wmsun/files/patch-wmSun.c
new file mode 100644
index 000000000000..a87af2c10a3d
--- /dev/null
+++ b/astro/wmsun/files/patch-wmSun.c
@@ -0,0 +1,15 @@
+
+$FreeBSD$
+
+--- wmSun.c.orig Thu Aug 15 18:04:04 2002
++++ wmSun.c Thu Aug 15 18:06:24 2002
+@@ -129,7 +129,8 @@
+ int Year, Month, DayOfWeek, OldLocalDayOfMonth;
+ int LocalDayOfMonth, DayOfMonth;
+ int Hours, Mins, Secs, OldSecs, digit, xoff, xsize;
+- long CurrentLocalTime, CurrentGMTTime, date;
++ time_t CurrentLocalTime, CurrentGMTTime;
++ long date;
+ double UT, val, RA, DEC, LTRise, LTSet, LocalHour, hour24();
+ int D, H, M, S, sgn, A, B, q;
+ char str[10];