summaryrefslogtreecommitdiff
path: root/games/nethack-qt/patches/patch-af
diff options
context:
space:
mode:
Diffstat (limited to 'games/nethack-qt/patches/patch-af')
-rw-r--r--games/nethack-qt/patches/patch-af65
1 files changed, 0 insertions, 65 deletions
diff --git a/games/nethack-qt/patches/patch-af b/games/nethack-qt/patches/patch-af
deleted file mode 100644
index 3e558da5584..00000000000
--- a/games/nethack-qt/patches/patch-af
+++ /dev/null
@@ -1,65 +0,0 @@
-$NetBSD: patch-af,v 1.5 2011/04/03 01:33:51 markd Exp $
-
---- include/unixconf.h.orig 2003-12-08 12:39:13.000000000 +1300
-+++ include/unixconf.h
-@@ -19,20 +19,21 @@
- */
-
- /* define exactly one of the following four choices */
--/* #define BSD 1 */ /* define for 4.n/Free/Open/Net BSD */
-+#define __NETHACK_OS__ 1
-+/* #define BSD */ /* define for 4.n/Free/Open/Net 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 +48,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,6 +169,9 @@
-
- #ifdef MAIL
- # if defined(BSD) || defined(ULTRIX)
-+# ifdef __NetBSD__
-+#define DEF_MAILREADER "/usr/bin/mail"
-+# else
- # ifdef AMS
- #define AMS_MAILBOX "/Mailbox"
- # else
-@@ -177,6 +181,7 @@
- #define DEF_MAILREADER "/usr/ucb/Mail"
- # endif
- # endif
-+#endif
- #else
- # if (defined(SYSV) || defined(DGUX) || defined(HPUX)) && !defined(LINUX)
- # if defined(M_XENIX)
-@@ -284,7 +289,7 @@
- #endif
-
- #if defined(BSD) || defined(ULTRIX)
--# if !defined(DGUX) && !defined(SUNOS4)
-+# if !defined(DGUX) && !defined(SUNOS4) && !defined(BSD)
- #define memcpy(d, s, n) bcopy(s, d, n)
- #define memcmp(s1, s2, n) bcmp(s2, s1, n)
- # endif