summaryrefslogtreecommitdiff
path: root/mail/xfmail/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'mail/xfmail/patches/patch-aa')
-rw-r--r--mail/xfmail/patches/patch-aa28
1 files changed, 19 insertions, 9 deletions
diff --git a/mail/xfmail/patches/patch-aa b/mail/xfmail/patches/patch-aa
index bb76b02e874..76b72e050fe 100644
--- a/mail/xfmail/patches/patch-aa
+++ b/mail/xfmail/patches/patch-aa
@@ -1,13 +1,23 @@
-$NetBSD: patch-aa,v 1.6 2006/02/26 13:44:18 joerg Exp $
+$NetBSD: patch-aa,v 1.7 2014/06/29 05:25:48 dholland Exp $
+
+Remove pointless references to sys_nerr.
--- src/mail/fmail.h.orig 2004-01-02 03:54:01.000000000 +0000
+++ src/mail/fmail.h
-@@ -170,7 +170,7 @@ char *strchr (), *strrchr ();
- #define sys_nerr 65535
- #else
- #ifndef sys_nerr
+@@ -166,16 +166,6 @@ char *strchr (), *strrchr ();
+ #include <arpa/inet.h>
+ #include <netdb.h>
+
+- #ifndef HAVE_SYS_NERR
+- #define sys_nerr 65535
+- #else
+- #ifndef sys_nerr
- #ifndef __FreeBSD__
-+ #if !defined (__FreeBSD__) && !defined(__NetBSD__) && !defined(__DragonFly__) && !defined(__OpenBSD__)
- extern int sys_nerr;
- #endif
- #endif
+-extern int sys_nerr;
+- #endif
+- #endif
+- #endif
+-
+ #if !defined(errno)
+ extern int errno;
+ #endif