summaryrefslogtreecommitdiffstats
path: root/converters/mpack
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2002-08-28 15:29:19 +0000
committerache <ache@FreeBSD.org>2002-08-28 15:29:19 +0000
commit31751564ae2c6e05987dbb226466cd996618e8bb (patch)
tree6601033e3dcb5cd1f57cca54ba9fb3bdbdd23cce /converters/mpack
parenta5178f4718714c25256b0311ffdafa281e9a1ced (diff)
downloadFreeBSD-ports-31751564ae2c6e05987dbb226466cd996618e8bb.zip
FreeBSD-ports-31751564ae2c6e05987dbb226466cd996618e8bb.tar.gz
Wrong version of patch was committed, fix it.
Diffstat (limited to 'converters/mpack')
-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 dbba6ac..685fc94 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 499be8e..afc0f31 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++;
- }
OpenPOWER on IntegriCloud