summaryrefslogtreecommitdiff
path: root/games/nethack/patches/unixconf_h.patch
diff options
context:
space:
mode:
Diffstat (limited to 'games/nethack/patches/unixconf_h.patch')
-rw-r--r--games/nethack/patches/unixconf_h.patch43
1 files changed, 43 insertions, 0 deletions
diff --git a/games/nethack/patches/unixconf_h.patch b/games/nethack/patches/unixconf_h.patch
new file mode 100644
index 0000000000..9b32de5b55
--- /dev/null
+++ b/games/nethack/patches/unixconf_h.patch
@@ -0,0 +1,43 @@
+--- include/unixconf.h 2003-12-07 17:39:13.000000000 -0600
++++ include/unixconf.h.slack 2008-05-15 15:29:04.000000000 -0500
+@@ -25,19 +25,19 @@
+ /* #define ULTRIX */ /* define for Ultrix v3.0 or higher (but not lower) */
+ /* Use BSD for < v3.0 */
+ /* "ULTRIX" not to be confused with "ultrix" */
+-#define SYSV /* define for System V, Solaris 2.x, newer versions */
++/* #define SYSV */ /* define for System V, Solaris 2.x, newer versions */
+ /* of Linux */
+ /* #define HPUX */ /* Hewlett-Packard's Unix, version 6.5 or higher */
+ /* use SYSV for < v6.5 */
+
+
+ /* define any of the following that are appropriate */
+-#define SVR4 /* use in addition to SYSV for System V Release 4 */
++/* #define SVR4 */ /* use in addition to SYSV for System V Release 4 */
+ /* including Solaris 2+ */
+ #define NETWORK /* if running on a networked system */
+ /* e.g. Suns sharing a playground through NFS */
+ /* #define SUNOS4 */ /* SunOS 4.x */
+-/* #define LINUX */ /* Another Unix clone */
++#define LINUX /* Another Unix clone */
+ /* #define CYGWIN32 */ /* Unix on Win32 -- use with case sensitive defines */
+ /* #define GENIX */ /* Yet Another Unix Clone */
+ /* #define HISX */ /* Bull Unix for XPS Machines */
+@@ -102,7 +102,7 @@
+ * If you want the static parts of your playground on a read-only file
+ * system, define VAR_PLAYGROUND to be where the variable parts are kept.
+ */
+-/* #define VAR_PLAYGROUND "/var/lib/games/nethack" */
++#define VAR_PLAYGROUND "/var/lib/nethack"
+
+
+ /*
+@@ -132,7 +132,7 @@
+ * "extra output" method is used, but not all systems provide access to
+ * a fine-grained timer.
+ */
+-/* #define TIMED_DELAY */ /* usleep() */
++#define TIMED_DELAY /* usleep() */
+ #endif
+
+ /*