aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2002-11-11 07:14:28 +0800
committerache <ache@FreeBSD.org>2002-11-11 07:14:28 +0800
commitc63af319368072be08c84fb4b4fbd6b1b8704446 (patch)
treef900b51e4902f220cfb6af6a86a840ab2c7f424d /mail
parent531c2377280792253cfb92255c387ee60ac1794b (diff)
downloadfreebsd-ports-gnome-c63af319368072be08c84fb4b4fbd6b1b8704446.tar.gz
freebsd-ports-gnome-c63af319368072be08c84fb4b4fbd6b1b8704446.tar.zst
freebsd-ports-gnome-c63af319368072be08c84fb4b4fbd6b1b8704446.zip
Fix realloc arg
Diffstat (limited to 'mail')
-rw-r--r--mail/procmail/Makefile1
-rw-r--r--mail/procmail/files/patch-af11
2 files changed, 12 insertions, 0 deletions
diff --git a/mail/procmail/Makefile b/mail/procmail/Makefile
index 05246ce9ca82..39d4b2d07720 100644
--- a/mail/procmail/Makefile
+++ b/mail/procmail/Makefile
@@ -7,6 +7,7 @@
PORTNAME= procmail
PORTVERSION= 3.22
+PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= ftp://ftp.procmail.org/pub/procmail/ \
ftp://ftp.psg.com/pub/unix/procmail/ \
diff --git a/mail/procmail/files/patch-af b/mail/procmail/files/patch-af
new file mode 100644
index 000000000000..1cfe9af851dd
--- /dev/null
+++ b/mail/procmail/files/patch-af
@@ -0,0 +1,11 @@
+--- src/pipes.c.bak Tue Sep 11 08:58:44 2001
++++ src/pipes.c Mon Nov 11 02:11:49 2002
+@@ -194,7 +194,7 @@
+ makeblock(&temp,Stdfilled);
+ tmemmove(temp.p,Stdout,Stdfilled);
+ readdyn(&temp,&Stdfilled,Stdfilled+backlen+1);
+- Stdout=realloc(Stdout,&Stdfilled+1);
++ Stdout=realloc(Stdout,Stdfilled+1);
+ tmemmove(Stdout,temp.p,Stdfilled+1);
+ freeblock(&temp);
+ retStdout(Stdout,pwait&&pipw,!backblock);