diff options
author | wiz <wiz> | 2000-01-12 20:30:41 +0000 |
---|---|---|
committer | wiz <wiz> | 2000-01-12 20:30:41 +0000 |
commit | f3c4b7f12499fbe92d214b5a2956139e16c98822 (patch) | |
tree | 273d6419430c41da53a5539327a8ccf2b104c6a9 /math/sc | |
parent | 7036dc478edb8d878311ea6ab0a2746ae63f6f1d (diff) | |
download | pkgsrc-f3c4b7f12499fbe92d214b5a2956139e16c98822.tar.gz |
Moved from misc/sc/patches/patch-ac,v
Diffstat (limited to 'math/sc')
-rw-r--r-- | math/sc/patches/patch-ac | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/math/sc/patches/patch-ac b/math/sc/patches/patch-ac new file mode 100644 index 00000000000..fbd1ebe6f76 --- /dev/null +++ b/math/sc/patches/patch-ac @@ -0,0 +1,31 @@ +$NetBSD: patch-ac,v 1.2 2000/01/12 20:30:42 wiz Exp $ + +--- interp.c.orig Mon May 11 13:43:36 1992 ++++ interp.c Tue Apr 20 18:55:25 1999 +@@ -476,7 +476,7 @@ + dodts(mo, day, yr) + int mo, day, yr; + { +- long trial; ++ time_t trial; + register struct tm *tp; + register int i; + register long jdate; +@@ -551,15 +551,13 @@ + int which; + double when; + { +- long time(); +- + static long t_cache; + static struct tm tm_cache; + struct tm *tp; +- long tloc; ++ time_t tloc; + + if (which == NOW) +- return (double)time((long *)0); ++ return (double)time(NULL); + + tloc = (long)when; + |