pkgsrc/mail/xfmail/patches/patch-aa
dholland 6d7560ebb7 Instead of trying to make a list of OSes on which to avoid mucking
with sys_nerr, just remove all the references to sys_nerr.

Should fix MacOS build.
2014-06-29 05:25:48 +00:00

23 lines
492 B
Text

$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
@@ -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__
-extern int sys_nerr;
- #endif
- #endif
- #endif
-
#if !defined(errno)
extern int errno;
#endif