summaryrefslogtreecommitdiff
path: root/games/nethack33/files/patch-include-system.h
diff options
context:
space:
mode:
authorGreg Lewis <glewis@FreeBSD.org>2015-12-27 23:05:52 +0000
committerGreg Lewis <glewis@FreeBSD.org>2015-12-27 23:05:52 +0000
commit9d5c3ca8b3d7143fb226a1c02b2a28d8e8da6892 (patch)
treec190d826d2c44919167d58626aef260a305a1997 /games/nethack33/files/patch-include-system.h
parent. Modify the nethack34 port to install itself in a versionsed fashion to (diff)
. Consistent patch naming.
Notes
Notes: svn path=/head/; revision=404606
Diffstat (limited to 'games/nethack33/files/patch-include-system.h')
-rw-r--r--games/nethack33/files/patch-include-system.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/games/nethack33/files/patch-include-system.h b/games/nethack33/files/patch-include-system.h
new file mode 100644
index 000000000000..762eb346a5ba
--- /dev/null
+++ b/games/nethack33/files/patch-include-system.h
@@ -0,0 +1,24 @@
+--- include/system.h.orig Mon Apr 19 23:27:53 2004
++++ include/system.h Mon Apr 19 23:31:54 2004
+@@ -86,7 +86,7 @@
+ # endif
+ #else
+ E long lrand48();
+-E void srand48();
++E void FDECL(srand48, (long));
+ #endif /* BSD || ULTRIX || RANDOM */
+
+ #if !defined(BSD) || defined(ultrix)
+@@ -340,10 +340,10 @@
+ #if defined(BSD) && defined(ultrix) /* i.e., old versions of Ultrix */
+ E void sleep();
+ #endif
+-#if defined(ULTRIX) || defined(SYSV)
++#if !defined(__FreeBSD__) && (defined(ULTRIX) || defined(SYSV))
+ E unsigned sleep();
+ #endif
+-#if defined(HPUX)
++#if defined(HPUX) || defined(__FreeBSD__)
+ E unsigned int FDECL(sleep, (unsigned int));
+ #endif
+ #ifdef VMS