summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mail/exim/Makefile1
-rw-r--r--mail/exim/files/patch-src::expand.c12
2 files changed, 13 insertions, 0 deletions
diff --git a/mail/exim/Makefile b/mail/exim/Makefile
index dfb06654b740..8ffd621aab16 100644
--- a/mail/exim/Makefile
+++ b/mail/exim/Makefile
@@ -7,6 +7,7 @@
PORTNAME= exim
PORTVERSION= ${EXIM_VERSION}
+PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_EXIM}
MASTER_SITE_SUBDIR= exim4
diff --git a/mail/exim/files/patch-src::expand.c b/mail/exim/files/patch-src::expand.c
new file mode 100644
index 000000000000..0d3cdca90cac
--- /dev/null
+++ b/mail/exim/files/patch-src::expand.c
@@ -0,0 +1,12 @@
+--- src/expand.c.orig Mon Aug 18 14:52:54 2003
++++ src/expand.c Fri Aug 29 17:51:12 2003
+@@ -1462,6 +1462,9 @@
+ if (yield != NULL)
+ {
+ int rc;
++
++ if ( sub[2] == NULL ) sub[3] = NULL;
++
+ rc = auth_call_saslauthd(sub[0], sub[1], sub[2], sub[3],
+ &expand_string_message);
+ if (rc == ERROR || rc == DEFER) return NULL;