aboutsummaryrefslogtreecommitdiff
path: root/mail/postfix-current/files
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-04-11 19:22:18 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-04-11 19:22:18 +0000
commit5d8242cb07e7a065c5f90cd3808647b761ca0528 (patch)
treecbca2647dc0fce9a6f7c23dbff6ebf38f033024f /mail/postfix-current/files
parent34c262debaaa47575ded2d22c7d77acf58d07739 (diff)
downloadports-5d8242cb07e7a065c5f90cd3808647b761ca0528.tar.gz
ports-5d8242cb07e7a065c5f90cd3808647b761ca0528.zip
Notes
Diffstat (limited to 'mail/postfix-current/files')
-rw-r--r--mail/postfix-current/files/patch-src-lmtp-lmtp_sasl_glue.c32
-rw-r--r--mail/postfix-current/files/patch-src-smtp-smtp_sasl_glue.c32
2 files changed, 64 insertions, 0 deletions
diff --git a/mail/postfix-current/files/patch-src-lmtp-lmtp_sasl_glue.c b/mail/postfix-current/files/patch-src-lmtp-lmtp_sasl_glue.c
new file mode 100644
index 000000000000..b1395120ad44
--- /dev/null
+++ b/mail/postfix-current/files/patch-src-lmtp-lmtp_sasl_glue.c
@@ -0,0 +1,32 @@
+--- src/lmtp/lmtp_sasl_glue.c.orig Mon Apr 11 00:08:53 2005
++++ src/lmtp/lmtp_sasl_glue.c Mon Apr 11 00:09:03 2005
+@@ -292,6 +292,14 @@
+
+ void lmtp_sasl_initialize(void)
+ {
++ /*
++ * Global callbacks. These have no per-session context.
++ */
++ static sasl_callback_t callbacks[] = {
++ {SASL_CB_LOG, &lmtp_sasl_log, 0},
++ {SASL_CB_LIST_END, 0, 0}
++ };
++
+ #if SASL_VERSION_MAJOR >= 2 && (SASL_VERSION_MINOR >= 2 \
+ || (SASL_VERSION_MINOR == 1 && SASL_VERSION_STEP >= 19))
+ int sasl_major;
+@@ -313,14 +321,6 @@
+ SASL_VERSION_MAJOR, SASL_VERSION_MINOR, SASL_VERSION_STEP,
+ sasl_major, sasl_minor, sasl_step);
+ #endif
+-
+- /*
+- * Global callbacks. These have no per-session context.
+- */
+- static sasl_callback_t callbacks[] = {
+- {SASL_CB_LOG, &lmtp_sasl_log, 0},
+- {SASL_CB_LIST_END, 0, 0}
+- };
+
+ /*
+ * Sanity check.
diff --git a/mail/postfix-current/files/patch-src-smtp-smtp_sasl_glue.c b/mail/postfix-current/files/patch-src-smtp-smtp_sasl_glue.c
new file mode 100644
index 000000000000..6e496e2b7551
--- /dev/null
+++ b/mail/postfix-current/files/patch-src-smtp-smtp_sasl_glue.c
@@ -0,0 +1,32 @@
+--- src/smtp/smtp_sasl_glue.c.orig Mon Apr 11 00:09:17 2005
++++ src/smtp/smtp_sasl_glue.c Mon Apr 11 00:09:30 2005
+@@ -321,6 +321,14 @@
+
+ void smtp_sasl_initialize(void)
+ {
++ /*
++ * Global callbacks. These have no per-session context.
++ */
++ static sasl_callback_t callbacks[] = {
++ {SASL_CB_LOG, &smtp_sasl_log, 0},
++ {SASL_CB_LIST_END, 0, 0}
++ };
++
+ #if SASL_VERSION_MAJOR >= 2 && (SASL_VERSION_MINOR >= 2 \
+ || (SASL_VERSION_MINOR == 1 && SASL_VERSION_STEP >= 19))
+ int sasl_major;
+@@ -342,14 +350,6 @@
+ SASL_VERSION_MAJOR, SASL_VERSION_MINOR, SASL_VERSION_STEP,
+ sasl_major, sasl_minor, sasl_step);
+ #endif
+-
+- /*
+- * Global callbacks. These have no per-session context.
+- */
+- static sasl_callback_t callbacks[] = {
+- {SASL_CB_LOG, &smtp_sasl_log, 0},
+- {SASL_CB_LIST_END, 0, 0}
+- };
+
+ /*
+ * Sanity check.