summaryrefslogtreecommitdiff
path: root/games/nethack-lib/patches/patch-af
diff options
context:
space:
mode:
Diffstat (limited to 'games/nethack-lib/patches/patch-af')
-rw-r--r--games/nethack-lib/patches/patch-af25
1 files changed, 8 insertions, 17 deletions
diff --git a/games/nethack-lib/patches/patch-af b/games/nethack-lib/patches/patch-af
index 34bd25c80b0..bcd9be75bf0 100644
--- a/games/nethack-lib/patches/patch-af
+++ b/games/nethack-lib/patches/patch-af
@@ -1,7 +1,7 @@
-$NetBSD: patch-af,v 1.4 2003/09/02 00:30:55 pooka Exp $
+$NetBSD: patch-af,v 1.5 2004/03/05 15:21:01 pooka Exp $
---- include/unixconf.h.orig 2003-08-30 03:07:24.000000000 +0300
-+++ include/unixconf.h 2003-09-02 02:55:54.000000000 +0300
+--- include/unixconf.h.orig 2003-12-08 01:39:13.000000000 +0200
++++ include/unixconf.h 2004-03-05 15:47:53.000000000 +0200
@@ -19,20 +19,20 @@
*/
@@ -35,21 +35,12 @@ $NetBSD: patch-af,v 1.4 2003/09/02 00:30:55 pooka Exp $
/* 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 +168,9 @@
-
- #ifdef MAIL
- # if defined(BSD) || defined(ULTRIX)
-+# ifdef __NetBSD__
-+#define DEF_MAILREADER "/usr/bin/mail"
-+# else
+@@ -171,7 +171,7 @@
# ifdef AMS
#define AMS_MAILBOX "/Mailbox"
# else
-@@ -177,6 +180,7 @@
+-# if defined(__FreeBSD__) || defined(__OpenBSD__)
++# if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
+ #define DEF_MAILREADER "/usr/bin/mail"
+ # else
#define DEF_MAILREADER "/usr/ucb/Mail"
- # endif
- # endif
-+#endif
- #else
- # if (defined(SYSV) || defined(DGUX) || defined(HPUX)) && !defined(LINUX)
- # if defined(M_XENIX)