aboutsummaryrefslogtreecommitdiff
path: root/converters
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2002-08-28 15:29:19 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2002-08-28 15:29:19 +0000
commit66fd85b8ae7d9bc38c2770b7a4b5906406aae2da (patch)
tree561b0d023cdc6280d4449923fdd0522ca1d2ad8d /converters
parent57a3510cef713deee4cf4e763813d4785aa89c46 (diff)
downloadports-66fd85b8ae7d9bc38c2770b7a4b5906406aae2da.tar.gz
ports-66fd85b8ae7d9bc38c2770b7a4b5906406aae2da.zip
Notes
Diffstat (limited to 'converters')
-rw-r--r--converters/mpack/Makefile2
-rw-r--r--converters/mpack/files/patch-ac29
2 files changed, 16 insertions, 15 deletions
diff --git a/converters/mpack/Makefile b/converters/mpack/Makefile
index dbba6ace782a..685fc94b3062 100644
--- a/converters/mpack/Makefile
+++ b/converters/mpack/Makefile
@@ -7,7 +7,7 @@
PORTNAME= mpack
PORTVERSION= 1.5
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= converters mail news
MASTER_SITES= ftp://ftp.andrew.cmu.edu/pub/mpack/
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
diff --git a/converters/mpack/files/patch-ac b/converters/mpack/files/patch-ac
index 499be8e1cf30..afc0f317b995 100644
--- a/converters/mpack/files/patch-ac
+++ b/converters/mpack/files/patch-ac
@@ -1,34 +1,35 @@
---- decode.c.old Tue Oct 23 16:14:53 2001
-+++ decode.c Tue Oct 23 16:16:22 2001
-@@ -468,6 +468,7 @@
+diff -ruN mpack-1.5/decode.c mpack/decode.c
+--- decode.c Fri Feb 17 08:39:44 1995
++++ decode.c Thu Nov 1 10:40:23 2001
+@@ -467,6 +467,7 @@
+ if (!--left) {
alloced += VALUEGROWSIZE;
value = xrealloc(value, alloced);
++ left = VALUEGROWSIZE;
to = value + alloced - left - 2;
-+ left = alloced - 1;
}
if (*from == '\\') {
- from++;
-@@ -484,6 +485,7 @@
+@@ -483,6 +484,7 @@
+ if (!--left) {
alloced += VALUEGROWSIZE;
value = xrealloc(value, alloced);
++ left = VALUEGROWSIZE;
to = value + alloced - left - 2;
-+ left = alloced - 1;
}
*to++ = *from++;
- }
-@@ -573,6 +575,7 @@
+@@ -572,6 +574,7 @@
+ if (!--left) {
alloced += VALUEGROWSIZE;
value = xrealloc(value, alloced);
++ left = VALUEGROWSIZE;
to = value + alloced - left - 2;
-+ left = alloced - 1;
}
if (*disposition == '\\') {
- disposition++;
-@@ -590,6 +593,7 @@
+@@ -589,6 +592,7 @@
+ if (!--left) {
alloced += VALUEGROWSIZE;
value = xrealloc(value, alloced);
++ left = VALUEGROWSIZE;
to = value + alloced - left - 2;
-+ left = alloced - 1;
}
*to++ = *disposition++;
- }