summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authormarc <marc@pkgsrc.org>1998-12-28 22:00:16 +0000
committermarc <marc@pkgsrc.org>1998-12-28 22:00:16 +0000
commita626b31de316a450cee68344ff3413cfa736f3f6 (patch)
tree1b7b9c7a08da33cfc1b0340861458ba9e07d827c /mail
parent92c4f7a3b4b00340f0173bd8cc20c11458826dd3 (diff)
downloadpkgsrc-a626b31de316a450cee68344ff3413cfa736f3f6.tar.gz
"i18n.h" and <kerberosIV/des.h> both define a macro "_". the one in
i18n is the one we want, so include i18n.h second.
Diffstat (limited to 'mail')
-rw-r--r--mail/fetchmail/patches/patch-ac31
1 files changed, 31 insertions, 0 deletions
diff --git a/mail/fetchmail/patches/patch-ac b/mail/fetchmail/patches/patch-ac
new file mode 100644
index 00000000000..974a52aebec
--- /dev/null
+++ b/mail/fetchmail/patches/patch-ac
@@ -0,0 +1,31 @@
+$NetBSD: patch-ac,v 1.3 1998/12/28 22:00:16 marc Exp $
+
+--- imap.c~ Fri Dec 4 10:26:39 1998
++++ imap.c Mon Dec 28 16:58:58 1998
+@@ -14,7 +14,6 @@
+ #endif
+ #include "fetchmail.h"
+ #include "socket.h"
+-#include "i18n.h"
+
+ #ifdef KERBEROS_V4
+ #ifdef KERBEROS_V5
+@@ -30,6 +29,9 @@
+ #endif
+ #include <krb.h>
+ #endif
++#ifdef _
++#undef _
++#endif
+ #endif /* KERBEROS_V4 */
+
+ #ifdef GSSAPI
+@@ -40,6 +42,8 @@
+ #if OPIE
+ #include <opie.h>
+ #endif /* OPIE */
++
++#include "i18n.h"
+
+ #ifndef strstr /* glibc-2.1 declares this as a macro */
+ extern char *strstr(); /* needed on sysV68 R3V7.1. */