summaryrefslogtreecommitdiff
path: root/converters
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2006-06-09 15:34:31 +0000
committerminskim <minskim@pkgsrc.org>2006-06-09 15:34:31 +0000
commit301f0fa7e021a9ed839e890a87bec186fe1ab033 (patch)
tree57ca309368c94f7023279bf1c8d9c5f611700a5a /converters
parentd4037975ec2524b0eb17249a98ed6b98f3e176ad (diff)
downloadpkgsrc-301f0fa7e021a9ed839e890a87bec186fe1ab033.tar.gz
Remove conflicting declaration of malloc(); include stdlib.h instead.
Diffstat (limited to 'converters')
-rw-r--r--converters/mpack/distinfo3
-rw-r--r--converters/mpack/patches/patch-af13
2 files changed, 15 insertions, 1 deletions
diff --git a/converters/mpack/distinfo b/converters/mpack/distinfo
index 1f4589a2b10..7ed6ebcb032 100644
--- a/converters/mpack/distinfo
+++ b/converters/mpack/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.6 2005/12/19 00:13:38 joerg Exp $
+$NetBSD: distinfo,v 1.7 2006/06/09 15:34:31 minskim Exp $
SHA1 (mpack-1.5-src.tar.Z) = 1c5081edd9c7152d2a8c4585af2c5a3fc9f17d60
RMD160 (mpack-1.5-src.tar.Z) = 614c35b1f63c2a6027c978946941cd8755cba774
@@ -8,3 +8,4 @@ SHA1 (patch-ab) = 38c17a6a9cbe71528300ebc3d74720f986a7d3b4
SHA1 (patch-ac) = a69986a5c1b7659fac6df05f4db9a44df3110892
SHA1 (patch-ad) = 76f32d163021a81d73d8316f72b141ef3edf4f14
SHA1 (patch-ae) = 46ca4ac43cd049399fc8b05e566bd6968a6dc019
+SHA1 (patch-af) = 9d2b3ad72a9a6491ef95b94b389813058ecc5103
diff --git a/converters/mpack/patches/patch-af b/converters/mpack/patches/patch-af
new file mode 100644
index 00000000000..ee03c6455d3
--- /dev/null
+++ b/converters/mpack/patches/patch-af
@@ -0,0 +1,13 @@
+$NetBSD: patch-af,v 1.1 2006/06/09 15:34:31 minskim Exp $
+
+--- xmalloc.c.orig 1995-02-16 21:39:50.000000000 +0000
++++ xmalloc.c
+@@ -24,7 +24,7 @@
+ */
+ #include <stdio.h>
+ #include <string.h>
+-extern char *malloc(), *realloc();
++#include <stdlib.h>
+
+ char *xmalloc (size)
+ int size;