aboutsummaryrefslogtreecommitdiff
path: root/astro/wmsun/files/patch-wmSun.c
diff options
context:
space:
mode:
Diffstat (limited to 'astro/wmsun/files/patch-wmSun.c')
-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];