mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-24 21:01:20 +00:00
Wrong version of patch was committed, fix it.
This commit is contained in:
parent
57a3510cef
commit
66fd85b8ae
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=65176
@ -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
|
||||
|
@ -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++;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user