summaryrefslogtreecommitdiff
path: root/games/nethack33/files/patch-system.h
diff options
context:
space:
mode:
authorGreg Lewis <glewis@FreeBSD.org>2004-04-20 14:24:28 +0000
committerGreg Lewis <glewis@FreeBSD.org>2004-04-20 14:24:28 +0000
commit52ed0baa26f0ebef5038f07b46fa901ae7622eb8 (patch)
tree9abbd4f82b7b6069b42b3d4971545fc5d455bbe5 /games/nethack33/files/patch-system.h
parentUpdate to version 1.20. (diff)
. Sync with the nethack32 port:
. By default, install things in a location that won't conflict with the other nethack ports. . Build and install the recover utility so that users can recover their game if it crashes (bump PORTREVISION for this). . Sync with the nethack34 port: . Use PKGNAMESUFFIX to select the graphics type. . Remove the COMMENT in the slave ports. . Take maintainership of nethack33 and nethack33-nox11. . Unbreak the nethack33-qt port.
Notes
Notes: svn path=/head/; revision=107723
Diffstat (limited to 'games/nethack33/files/patch-system.h')
-rw-r--r--games/nethack33/files/patch-system.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/games/nethack33/files/patch-system.h b/games/nethack33/files/patch-system.h
new file mode 100644
index 000000000000..dd0e4d238ffd
--- /dev/null
+++ b/games/nethack33/files/patch-system.h
@@ -0,0 +1,26 @@
+$FreeBSD$
+
+--- 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