aboutsummaryrefslogtreecommitdiffstats
path: root/converters/mpack
diff options
context:
space:
mode:
authoranray <anray@FreeBSD.org>2006-03-28 05:38:31 +0800
committeranray <anray@FreeBSD.org>2006-03-28 05:38:31 +0800
commit0564c0cc0f05da82e4e3c717eee7d7c49e4ffd98 (patch)
treed72ae930edd1fce1318e6f6e577cbfb195d3763b /converters/mpack
parentc9ad1d1fa699e2aab84c5227fb5ab27c6e5ba7d7 (diff)
downloadfreebsd-ports-graphics-0564c0cc0f05da82e4e3c717eee7d7c49e4ffd98.tar.gz
freebsd-ports-graphics-0564c0cc0f05da82e4e3c717eee7d7c49e4ffd98.tar.zst
freebsd-ports-graphics-0564c0cc0f05da82e4e3c717eee7d7c49e4ffd98.zip
Add patch-ad to patch-uudecode.c - it's patched one file.
Diffstat (limited to 'converters/mpack')
-rw-r--r--converters/mpack/files/patch-ad14
-rw-r--r--converters/mpack/files/patch-uudecode.c16
2 files changed, 14 insertions, 16 deletions
diff --git a/converters/mpack/files/patch-ad b/converters/mpack/files/patch-ad
deleted file mode 100644
index dfc56455b46..00000000000
--- a/converters/mpack/files/patch-ad
+++ /dev/null
@@ -1,14 +0,0 @@
---- uudecode.c.orig Sat Jan 21 23:57:58 2006
-+++ uudecode.c Sun Jan 22 00:07:01 2006
-@@ -487,9 +487,9 @@
- * split-uuencoded data.
- */
- int
--parseSubject(char *subject, char **fnamep, int *partp, int *npartsp)
-+parseSubject(unsigned char *subject, char **fnamep, int *partp, int *npartsp)
- {
-- char *scan, *bak, *start;
-+ unsigned char *scan, *bak, *start;
- int part = -1, nparts = 0, hasdot = 0;
-
- /* No subject header */
diff --git a/converters/mpack/files/patch-uudecode.c b/converters/mpack/files/patch-uudecode.c
index 48c28d71b6a..d9a70b5e152 100644
--- a/converters/mpack/files/patch-uudecode.c
+++ b/converters/mpack/files/patch-uudecode.c
@@ -1,5 +1,5 @@
---- uudecode.c.orig Sun Mar 26 23:09:32 2006
-+++ uudecode.c Sun Mar 26 23:11:17 2006
+--- uudecode.c.orig Mon Jul 21 23:46:37 2003
++++ uudecode.c Mon Mar 27 17:27:52 2006
@@ -23,8 +23,10 @@
* SOFTWARE.
*/
@@ -55,6 +55,18 @@
if (fgets(buf, sizeof(buf), partfile)) {
nparts = atoi(buf);
if (nparts < 0) nparts = 0;
+@@ -487,9 +505,9 @@
+ * split-uuencoded data.
+ */
+ int
+-parseSubject(char *subject, char **fnamep, int *partp, int *npartsp)
++parseSubject(unsigned char *subject, char **fnamep, int *partp, int *npartsp)
+ {
+- char *scan, *bak, *start;
++ unsigned char *scan, *bak, *start;
+ int part = -1, nparts = 0, hasdot = 0;
+
+ /* No subject header */
@@ -722,7 +740,7 @@
if (!*fname) return 1;