summaryrefslogtreecommitdiff
path: root/mail/fetchmail
diff options
context:
space:
mode:
authormarc <marc>1998-12-28 22:00:16 +0000
committermarc <marc>1998-12-28 22:00:16 +0000
commit7c3f6f2b58f4aaadb384c35c6a8f163f387a98b0 (patch)
tree1b7b9c7a08da33cfc1b0340861458ba9e07d827c /mail/fetchmail
parentb4cfcffe6e1bcddf5c16128ae8a925d6cb618f2b (diff)
downloadpkgsrc-7c3f6f2b58f4aaadb384c35c6a8f163f387a98b0.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/fetchmail')
-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. */