summaryrefslogtreecommitdiff
path: root/mail/postfix/patches
diff options
context:
space:
mode:
authorchristos <christos@pkgsrc.org>2003-10-03 15:04:52 +0000
committerchristos <christos@pkgsrc.org>2003-10-03 15:04:52 +0000
commitee4ca78e561c3460e7565fcf8e77e4b69c8c5307 (patch)
tree64525dcfb0fd03915b028f1a710ce79722649611 /mail/postfix/patches
parent874f5804103914751a49ee12d48eb741231b0cc0 (diff)
downloadpkgsrc-ee4ca78e561c3460e7565fcf8e77e4b69c8c5307.tar.gz
enable use of sasl2
Diffstat (limited to 'mail/postfix/patches')
-rw-r--r--mail/postfix/patches/patch-ah23
1 files changed, 23 insertions, 0 deletions
diff --git a/mail/postfix/patches/patch-ah b/mail/postfix/patches/patch-ah
new file mode 100644
index 00000000000..b74ced4e727
--- /dev/null
+++ b/mail/postfix/patches/patch-ah
@@ -0,0 +1,23 @@
+$NetBSD: patch-ah,v 1.5 2003/10/03 15:04:52 christos Exp $
+
+--- src/smtpd/smtpd.h.orig 2003-10-02 06:48:30.000000000 -0400
++++ src/smtpd/smtpd.h 2003-10-02 06:48:31.000000000 -0400
+@@ -16,10 +16,18 @@
+ /*
+ * SASL library.
+ */
++#ifdef USE_SASL2_AUTH
++#ifndef USE_SASL_AUTH
++#define USE_SASL_AUTH
++#endif
++#include <sasl/sasl.h>
++#include <sasl/saslutil.h>
++#else
+ #ifdef USE_SASL_AUTH
+ #include <sasl.h>
+ #include <saslutil.h>
+ #endif
++#endif
+
+ /*
+ * Utility library.