summaryrefslogtreecommitdiff
path: root/games/nethack-x11/patches/patch-af
diff options
context:
space:
mode:
Diffstat (limited to 'games/nethack-x11/patches/patch-af')
-rw-r--r--games/nethack-x11/patches/patch-af54
1 files changed, 54 insertions, 0 deletions
diff --git a/games/nethack-x11/patches/patch-af b/games/nethack-x11/patches/patch-af
new file mode 100644
index 00000000000..f24171f23aa
--- /dev/null
+++ b/games/nethack-x11/patches/patch-af
@@ -0,0 +1,54 @@
+$NetBSD: patch-af,v 1.1 2002/03/22 17:26:29 pooka Exp $
+
+--- include/unixconf.h.orig Thu Mar 21 01:42:56 2002
++++ include/unixconf.h Fri Mar 22 17:42:50 2002
+@@ -19,20 +19,20 @@
+ */
+
+ /* define exactly one of the following four choices */
+-/* #define BSD 1 */ /* define for 4.n BSD */
++#define BSD 1 /* define for 4.n BSD */
+ /* also for relatives like SunOS 4.x, DG/UX, and */
+ /* older versions of Linux */
+ /* #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 */
+@@ -47,7 +47,7 @@
+ * job control (note that AIX is SYSV otherwise)
+ * Also define this for AIX 3.2 */
+
+-#define TERMINFO /* uses terminfo rather than termcap */
++/* #define TERMINFO /* uses terminfo rather than termcap */
+ /* Should be defined for most SYSV, SVR4 (including
+ * Solaris 2+), HPUX, and Linux systems. In
+ * particular, it should NOT be defined for the UNIXPC
+@@ -168,11 +168,15 @@
+
+ #ifdef MAIL
+ # if defined(BSD) || defined(ULTRIX)
++# ifdef __NetBSD__
++#define DEF_MAILREADER "/usr/bin/mail"
++# else
+ # ifdef AMS
+ #define AMS_MAILBOX "/Mailbox"
+ # else
+ #define DEF_MAILREADER "/usr/ucb/Mail"
+-# endif
++# endif
++# endif
+ #else
+ # if (defined(SYSV) || defined(DGUX) || defined(HPUX)) && !defined(LINUX)
+ # if defined(M_XENIX) || defined(__FreeBSD__)