aboutsummaryrefslogtreecommitdiff
path: root/astro/wmsun/files
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/wmsun/files
parentefbdb92482a329d7226aa70de955100aa5759788 (diff)
downloadports-90e8f6b6a15a3ab5d86c1ba3437565ffb394e786.tar.gz
ports-90e8f6b6a15a3ab5d86c1ba3437565ffb394e786.zip
Use time_t instead of assuming it to be of type long.
Notes
Notes: svn path=/head/; revision=64544
Diffstat (limited to 'astro/wmsun/files')
-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];