aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/popd/Makefile2
-rw-r--r--mail/popd/files/patch-lib::funcs.c20
2 files changed, 21 insertions, 1 deletions
diff --git a/mail/popd/Makefile b/mail/popd/Makefile
index 843ee893487c..2d514831d78d 100644
--- a/mail/popd/Makefile
+++ b/mail/popd/Makefile
@@ -7,7 +7,7 @@
PORTNAME= popd
PORTVERSION= 2.2.2a
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= mail
MASTER_SITES= ftp://ftp3.za.freebsd.org/pub/popd/
diff --git a/mail/popd/files/patch-lib::funcs.c b/mail/popd/files/patch-lib::funcs.c
new file mode 100644
index 000000000000..ff835dd6eb14
--- /dev/null
+++ b/mail/popd/files/patch-lib::funcs.c
@@ -0,0 +1,20 @@
+$FreeBSD$
+
+--- lib/funcs.c.orig Mon Mar 3 21:10:19 2003
++++ lib/funcs.c Wed Oct 15 11:18:01 2003
+@@ -198,11 +198,11 @@
+ len = vsnprintf(p, MAXBUFLEN - (buffer - p), format, pvar);
+ }
+ va_end(pvar);
+- if (p - buffer + len + 3 > MAXBUFLEN) {
+- xwrite(buffer, p - buffer + len);
++ p += len;
++ if (p - buffer + 3 > MAXBUFLEN) {
++ xwrite(buffer, p - buffer);
+ p = buffer;
+ }
+- p += len;
+ *p++ = '\r';
+ *p++ = '\n';
+ if (flag == SEND_FLUSH) {
+