diff options
author | joerg <joerg@pkgsrc.org> | 2005-12-19 00:13:38 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2005-12-19 00:13:38 +0000 |
commit | 188f4ddbbce9fec5cbf63f34231de86351155e7c (patch) | |
tree | fb50b3e157d616503a5b8fc38cbcbc0878e16775 /converters/mpack | |
parent | d2b29ade853ddbcab4ed3edc5432b897682f2f2c (diff) | |
download | pkgsrc-188f4ddbbce9fec5cbf63f34231de86351155e7c.tar.gz |
Fix errno. Use stdlib.h in one place as well.
Diffstat (limited to 'converters/mpack')
-rw-r--r-- | converters/mpack/distinfo | 5 | ||||
-rw-r--r-- | converters/mpack/patches/patch-ab | 25 | ||||
-rw-r--r-- | converters/mpack/patches/patch-ae | 12 |
3 files changed, 37 insertions, 5 deletions
diff --git a/converters/mpack/distinfo b/converters/mpack/distinfo index f2bb3518e67..1f4589a2b10 100644 --- a/converters/mpack/distinfo +++ b/converters/mpack/distinfo @@ -1,9 +1,10 @@ -$NetBSD: distinfo,v 1.5 2005/02/23 16:12:34 agc Exp $ +$NetBSD: distinfo,v 1.6 2005/12/19 00:13:38 joerg Exp $ SHA1 (mpack-1.5-src.tar.Z) = 1c5081edd9c7152d2a8c4585af2c5a3fc9f17d60 RMD160 (mpack-1.5-src.tar.Z) = 614c35b1f63c2a6027c978946941cd8755cba774 Size (mpack-1.5-src.tar.Z) = 285360 bytes SHA1 (patch-aa) = d08d4f7f3e44b1ddc71c0838c014b4a2aed61811 -SHA1 (patch-ab) = d221ba16f24843eb9d53ce91f487d6e857d21ddd +SHA1 (patch-ab) = 38c17a6a9cbe71528300ebc3d74720f986a7d3b4 SHA1 (patch-ac) = a69986a5c1b7659fac6df05f4db9a44df3110892 SHA1 (patch-ad) = 76f32d163021a81d73d8316f72b141ef3edf4f14 +SHA1 (patch-ae) = 46ca4ac43cd049399fc8b05e566bd6968a6dc019 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; + |