summaryrefslogtreecommitdiff
path: root/converters/mpack/patches
diff options
context:
space:
mode:
Diffstat (limited to 'converters/mpack/patches')
-rw-r--r--converters/mpack/patches/patch-ab25
-rw-r--r--converters/mpack/patches/patch-ae12
2 files changed, 34 insertions, 3 deletions
diff --git a/converters/mpack/patches/patch-ab b/converters/mpack/patches/patch-ab
index d775bca264c..7ad142f7d07 100644
--- a/converters/mpack/patches/patch-ab
+++ b/converters/mpack/patches/patch-ab
@@ -1,8 +1,27 @@
-$NetBSD: patch-ab,v 1.5 2002/12/05 16:45:21 is Exp $
+$NetBSD: patch-ab,v 1.6 2005/12/19 00:13:39 joerg Exp $
---- unixos.c.orig Thu Feb 16 16:39:50 1995
+--- unixos.c.orig 1995-02-16 21:39:50.000000000 +0000
+++ unixos.c
-@@ -89,7 +90,11 @@
+@@ -23,6 +23,7 @@
+ * SOFTWARE.
+ */
+ #include <stdio.h>
++#include <stdlib.h>
+ #include <ctype.h>
+ #include <string.h>
+ #include <errno.h>
+@@ -36,10 +37,6 @@
+ #define MAXHOSTNAMELEN 64
+ #endif
+
+-extern int errno;
+-extern char *malloc();
+-extern char *getenv();
+-
+ int overwrite_files = 0;
+ int didchat;
+
+@@ -89,7 +86,11 @@ char *id;
strcpy(buf, getenv("TMPDIR"));
}
else {
diff --git a/converters/mpack/patches/patch-ae b/converters/mpack/patches/patch-ae
new file mode 100644
index 00000000000..4a78f48922c
--- /dev/null
+++ b/converters/mpack/patches/patch-ae
@@ -0,0 +1,12 @@
+$NetBSD: patch-ae,v 1.1 2005/12/19 00:13:39 joerg Exp $
+
+--- unixpk.c.orig 2005-12-19 00:09:00.000000000 +0000
++++ unixpk.c
+@@ -33,7 +33,6 @@ ww * Permission to use, copy, modify, di
+
+ extern char *getenv();
+
+-extern int errno;
+ extern int optind;
+ extern char *optarg;
+