aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1999-06-22 17:05:03 +0000
committerSteve Price <steve@FreeBSD.org>1999-06-22 17:05:03 +0000
commitddcecda9c923d2b809b89be78127932a0bd7031c (patch)
tree24fd2c609d6d8fd8959ad77c3f17839df4c89fbd /games
parentff5f768f221ffdafefeb7a5c923febf63f3efb6a (diff)
downloadports-ddcecda9c923d2b809b89be78127932a0bd7031c.tar.gz
ports-ddcecda9c923d2b809b89be78127932a0bd7031c.zip
time(3) returns a time_t and not a long.
Notes
Notes: svn path=/head/; revision=19658
Diffstat (limited to 'games')
-rw-r--r--games/nethack/files/patch-ad14
-rw-r--r--games/nethack3-tty/files/patch-ad14
-rw-r--r--games/nethack3/files/patch-ad14
-rw-r--r--games/nethack32/files/patch-ad14
-rw-r--r--games/nethack33-nox11/files/patch-ad14
-rw-r--r--games/nethack33/files/patch-ad14
-rw-r--r--games/nethack34-nox11/files/patch-ad14
-rw-r--r--games/nethack34/files/patch-ad14
8 files changed, 88 insertions, 24 deletions
diff --git a/games/nethack/files/patch-ad b/games/nethack/files/patch-ad
index a14729508f45..4ff9c983d5ca 100644
--- a/games/nethack/files/patch-ad
+++ b/games/nethack/files/patch-ad
@@ -1,6 +1,5 @@
-diff -ruN ./include/system.h ../nethack-3.2.2/include/system.h
---- ./include/system.h Mon Nov 4 23:01:25 1996
-+++ ../nethack-3.2.2/include/system.h Sun Mar 21 17:25:02 1999
+--- include/system.h.orig Mon Nov 4 08:01:25 1996
++++ include/system.h Sat Jun 19 16:18:02 1999
@@ -80,7 +80,7 @@
# if !defined(SUNOS4) || defined(RANDOM)
E void FDECL(srandom, (unsigned int));
@@ -10,3 +9,12 @@ diff -ruN ./include/system.h ../nethack-3.2.2/include/system.h
E int FDECL(srandom, (unsigned int));
# endif
# endif
+@@ -510,7 +510,7 @@
+ # if defined(ULTRIX) || defined(SYSV) || defined(MICRO) || defined(VMS) || defined(MAC)
+ E time_t FDECL(time, (time_t *));
+ # else
+-E long FDECL(time, (time_t *));
++E time_t FDECL(time, (time_t *));
+ # endif /* ULTRIX */
+
+ #ifdef VMS
diff --git a/games/nethack3-tty/files/patch-ad b/games/nethack3-tty/files/patch-ad
index a14729508f45..4ff9c983d5ca 100644
--- a/games/nethack3-tty/files/patch-ad
+++ b/games/nethack3-tty/files/patch-ad
@@ -1,6 +1,5 @@
-diff -ruN ./include/system.h ../nethack-3.2.2/include/system.h
---- ./include/system.h Mon Nov 4 23:01:25 1996
-+++ ../nethack-3.2.2/include/system.h Sun Mar 21 17:25:02 1999
+--- include/system.h.orig Mon Nov 4 08:01:25 1996
++++ include/system.h Sat Jun 19 16:18:02 1999
@@ -80,7 +80,7 @@
# if !defined(SUNOS4) || defined(RANDOM)
E void FDECL(srandom, (unsigned int));
@@ -10,3 +9,12 @@ diff -ruN ./include/system.h ../nethack-3.2.2/include/system.h
E int FDECL(srandom, (unsigned int));
# endif
# endif
+@@ -510,7 +510,7 @@
+ # if defined(ULTRIX) || defined(SYSV) || defined(MICRO) || defined(VMS) || defined(MAC)
+ E time_t FDECL(time, (time_t *));
+ # else
+-E long FDECL(time, (time_t *));
++E time_t FDECL(time, (time_t *));
+ # endif /* ULTRIX */
+
+ #ifdef VMS
diff --git a/games/nethack3/files/patch-ad b/games/nethack3/files/patch-ad
index a14729508f45..4ff9c983d5ca 100644
--- a/games/nethack3/files/patch-ad
+++ b/games/nethack3/files/patch-ad
@@ -1,6 +1,5 @@
-diff -ruN ./include/system.h ../nethack-3.2.2/include/system.h
---- ./include/system.h Mon Nov 4 23:01:25 1996
-+++ ../nethack-3.2.2/include/system.h Sun Mar 21 17:25:02 1999
+--- include/system.h.orig Mon Nov 4 08:01:25 1996
++++ include/system.h Sat Jun 19 16:18:02 1999
@@ -80,7 +80,7 @@
# if !defined(SUNOS4) || defined(RANDOM)
E void FDECL(srandom, (unsigned int));
@@ -10,3 +9,12 @@ diff -ruN ./include/system.h ../nethack-3.2.2/include/system.h
E int FDECL(srandom, (unsigned int));
# endif
# endif
+@@ -510,7 +510,7 @@
+ # if defined(ULTRIX) || defined(SYSV) || defined(MICRO) || defined(VMS) || defined(MAC)
+ E time_t FDECL(time, (time_t *));
+ # else
+-E long FDECL(time, (time_t *));
++E time_t FDECL(time, (time_t *));
+ # endif /* ULTRIX */
+
+ #ifdef VMS
diff --git a/games/nethack32/files/patch-ad b/games/nethack32/files/patch-ad
index a14729508f45..4ff9c983d5ca 100644
--- a/games/nethack32/files/patch-ad
+++ b/games/nethack32/files/patch-ad
@@ -1,6 +1,5 @@
-diff -ruN ./include/system.h ../nethack-3.2.2/include/system.h
---- ./include/system.h Mon Nov 4 23:01:25 1996
-+++ ../nethack-3.2.2/include/system.h Sun Mar 21 17:25:02 1999
+--- include/system.h.orig Mon Nov 4 08:01:25 1996
++++ include/system.h Sat Jun 19 16:18:02 1999
@@ -80,7 +80,7 @@
# if !defined(SUNOS4) || defined(RANDOM)
E void FDECL(srandom, (unsigned int));
@@ -10,3 +9,12 @@ diff -ruN ./include/system.h ../nethack-3.2.2/include/system.h
E int FDECL(srandom, (unsigned int));
# endif
# endif
+@@ -510,7 +510,7 @@
+ # if defined(ULTRIX) || defined(SYSV) || defined(MICRO) || defined(VMS) || defined(MAC)
+ E time_t FDECL(time, (time_t *));
+ # else
+-E long FDECL(time, (time_t *));
++E time_t FDECL(time, (time_t *));
+ # endif /* ULTRIX */
+
+ #ifdef VMS
diff --git a/games/nethack33-nox11/files/patch-ad b/games/nethack33-nox11/files/patch-ad
index a14729508f45..4ff9c983d5ca 100644
--- a/games/nethack33-nox11/files/patch-ad
+++ b/games/nethack33-nox11/files/patch-ad
@@ -1,6 +1,5 @@
-diff -ruN ./include/system.h ../nethack-3.2.2/include/system.h
---- ./include/system.h Mon Nov 4 23:01:25 1996
-+++ ../nethack-3.2.2/include/system.h Sun Mar 21 17:25:02 1999
+--- include/system.h.orig Mon Nov 4 08:01:25 1996
++++ include/system.h Sat Jun 19 16:18:02 1999
@@ -80,7 +80,7 @@
# if !defined(SUNOS4) || defined(RANDOM)
E void FDECL(srandom, (unsigned int));
@@ -10,3 +9,12 @@ diff -ruN ./include/system.h ../nethack-3.2.2/include/system.h
E int FDECL(srandom, (unsigned int));
# endif
# endif
+@@ -510,7 +510,7 @@
+ # if defined(ULTRIX) || defined(SYSV) || defined(MICRO) || defined(VMS) || defined(MAC)
+ E time_t FDECL(time, (time_t *));
+ # else
+-E long FDECL(time, (time_t *));
++E time_t FDECL(time, (time_t *));
+ # endif /* ULTRIX */
+
+ #ifdef VMS
diff --git a/games/nethack33/files/patch-ad b/games/nethack33/files/patch-ad
index a14729508f45..4ff9c983d5ca 100644
--- a/games/nethack33/files/patch-ad
+++ b/games/nethack33/files/patch-ad
@@ -1,6 +1,5 @@
-diff -ruN ./include/system.h ../nethack-3.2.2/include/system.h
---- ./include/system.h Mon Nov 4 23:01:25 1996
-+++ ../nethack-3.2.2/include/system.h Sun Mar 21 17:25:02 1999
+--- include/system.h.orig Mon Nov 4 08:01:25 1996
++++ include/system.h Sat Jun 19 16:18:02 1999
@@ -80,7 +80,7 @@
# if !defined(SUNOS4) || defined(RANDOM)
E void FDECL(srandom, (unsigned int));
@@ -10,3 +9,12 @@ diff -ruN ./include/system.h ../nethack-3.2.2/include/system.h
E int FDECL(srandom, (unsigned int));
# endif
# endif
+@@ -510,7 +510,7 @@
+ # if defined(ULTRIX) || defined(SYSV) || defined(MICRO) || defined(VMS) || defined(MAC)
+ E time_t FDECL(time, (time_t *));
+ # else
+-E long FDECL(time, (time_t *));
++E time_t FDECL(time, (time_t *));
+ # endif /* ULTRIX */
+
+ #ifdef VMS
diff --git a/games/nethack34-nox11/files/patch-ad b/games/nethack34-nox11/files/patch-ad
index a14729508f45..4ff9c983d5ca 100644
--- a/games/nethack34-nox11/files/patch-ad
+++ b/games/nethack34-nox11/files/patch-ad
@@ -1,6 +1,5 @@
-diff -ruN ./include/system.h ../nethack-3.2.2/include/system.h
---- ./include/system.h Mon Nov 4 23:01:25 1996
-+++ ../nethack-3.2.2/include/system.h Sun Mar 21 17:25:02 1999
+--- include/system.h.orig Mon Nov 4 08:01:25 1996
++++ include/system.h Sat Jun 19 16:18:02 1999
@@ -80,7 +80,7 @@
# if !defined(SUNOS4) || defined(RANDOM)
E void FDECL(srandom, (unsigned int));
@@ -10,3 +9,12 @@ diff -ruN ./include/system.h ../nethack-3.2.2/include/system.h
E int FDECL(srandom, (unsigned int));
# endif
# endif
+@@ -510,7 +510,7 @@
+ # if defined(ULTRIX) || defined(SYSV) || defined(MICRO) || defined(VMS) || defined(MAC)
+ E time_t FDECL(time, (time_t *));
+ # else
+-E long FDECL(time, (time_t *));
++E time_t FDECL(time, (time_t *));
+ # endif /* ULTRIX */
+
+ #ifdef VMS
diff --git a/games/nethack34/files/patch-ad b/games/nethack34/files/patch-ad
index a14729508f45..4ff9c983d5ca 100644
--- a/games/nethack34/files/patch-ad
+++ b/games/nethack34/files/patch-ad
@@ -1,6 +1,5 @@
-diff -ruN ./include/system.h ../nethack-3.2.2/include/system.h
---- ./include/system.h Mon Nov 4 23:01:25 1996
-+++ ../nethack-3.2.2/include/system.h Sun Mar 21 17:25:02 1999
+--- include/system.h.orig Mon Nov 4 08:01:25 1996
++++ include/system.h Sat Jun 19 16:18:02 1999
@@ -80,7 +80,7 @@
# if !defined(SUNOS4) || defined(RANDOM)
E void FDECL(srandom, (unsigned int));
@@ -10,3 +9,12 @@ diff -ruN ./include/system.h ../nethack-3.2.2/include/system.h
E int FDECL(srandom, (unsigned int));
# endif
# endif
+@@ -510,7 +510,7 @@
+ # if defined(ULTRIX) || defined(SYSV) || defined(MICRO) || defined(VMS) || defined(MAC)
+ E time_t FDECL(time, (time_t *));
+ # else
+-E long FDECL(time, (time_t *));
++E time_t FDECL(time, (time_t *));
+ # endif /* ULTRIX */
+
+ #ifdef VMS