From 9097a0430e4676635f287640afb2c655cab7c83e Mon Sep 17 00:00:00 2001 From: sheldonh Date: Thu, 20 Dec 2001 15:29:51 +0000 Subject: Add a patch from the author that fixes a string termination bug. The bug was the cause of the 'unknown named list "+local_domains"' problem for which the port was marked BROKEN. I haven't bumped PORTREVISION because the port was marked BROKEN so soon after it was added. --- mail/exim-devel/Makefile | 2 -- mail/exim-devel/files/patch-src::readconf.c | 10 ++++++++++ 2 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 mail/exim-devel/files/patch-src::readconf.c (limited to 'mail') diff --git a/mail/exim-devel/Makefile b/mail/exim-devel/Makefile index bc8450d..3c1c909 100644 --- a/mail/exim-devel/Makefile +++ b/mail/exim-devel/Makefile @@ -15,8 +15,6 @@ DISTFILES= exim-3.951.tar.bz2 exim-texinfo-3.951.tar.bz2 MAINTAINER= sheldonh@FreeBSD.org -BROKEN= 'Default configuration file gives unknown named list "+local_domains"' - NO_LATEST_LINK= yes USE_BZIP2= yes diff --git a/mail/exim-devel/files/patch-src::readconf.c b/mail/exim-devel/files/patch-src::readconf.c new file mode 100644 index 0000000..0f6839f --- /dev/null +++ b/mail/exim-devel/files/patch-src::readconf.c @@ -0,0 +1,10 @@ +--- src/readconf.c.orig Fri Nov 23 17:31:21 2001 ++++ src/readconf.c Thu Dec 20 17:24:58 2001 +@@ -1990,6 +1990,7 @@ + while (isalnum(*s) || *s == '_') s++; + t = store_get(sizeof(tree_node) + s-ss); + Ustrncpy(t->name, ss, s-ss); ++t->name[s-ss] = 0; + while (isspace(*s)) s++; + + if (!tree_insertnode(anchorp, t)) -- cgit v1.1