diff options
author | steve <steve@FreeBSD.org> | 1999-07-06 00:29:22 +0800 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 1999-07-06 00:29:22 +0800 |
commit | e415840e2b77f93503a844c2d2db5da3dbc023b0 (patch) | |
tree | bb6da84292fae84cae74d1febfc7b6e15d4bf271 /math | |
parent | 81eb538a5efcd4bdc531cc6eaeaf0798692db101 (diff) | |
download | freebsd-ports-gnome-e415840e2b77f93503a844c2d2db5da3dbc023b0.tar.gz freebsd-ports-gnome-e415840e2b77f93503a844c2d2db5da3dbc023b0.tar.zst freebsd-ports-gnome-e415840e2b77f93503a844c2d2db5da3dbc023b0.zip |
time(3)'s first and only arg is a time_t* which is not necessarily equal
to a long*.
Diffstat (limited to 'math')
-rw-r--r-- | math/ss/files/patch-ad | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/math/ss/files/patch-ad b/math/ss/files/patch-ad new file mode 100644 index 000000000000..a2a85716e185 --- /dev/null +++ b/math/ss/files/patch-ad @@ -0,0 +1,20 @@ +--- interp.c.orig Tue Apr 20 19:01:03 1999 ++++ interp.c Tue Apr 20 19:03:15 1999 +@@ -560,7 +560,7 @@ + #if defined(__GO32__) || defined(__NeXT__) + time_t time (time_t *) ; + #else +-# ifndef OSF1 ++# if !defined(OSF1) && !defined(__FreeBSD__) + long time(); + # endif + #endif +@@ -571,7 +571,7 @@ + long tloc; + + if (which == NOW) { +-#if defined(__GO32__) || defined(__NeXT__) ++#if defined(__GO32__) || defined(__NeXT__) || defined(__FreeBSD__) + return (double) time ((time_t *) NULL) ; + #else + return (double) time((long *)0); |