diff options
author | ache <ache@FreeBSD.org> | 2002-11-11 07:14:28 +0800 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2002-11-11 07:14:28 +0800 |
commit | c63af319368072be08c84fb4b4fbd6b1b8704446 (patch) | |
tree | f900b51e4902f220cfb6af6a86a840ab2c7f424d /mail | |
parent | 531c2377280792253cfb92255c387ee60ac1794b (diff) | |
download | freebsd-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/Makefile | 1 | ||||
-rw-r--r-- | mail/procmail/files/patch-af | 11 |
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); |