summaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2006-06-20 22:53:22 +0000
committerminskim <minskim@pkgsrc.org>2006-06-20 22:53:22 +0000
commit654322b9f617dc1674e8094e2551ad22beb75cfa (patch)
tree70bf4c4e341fc0f9d089151d38ed62d5adee3e26 /archivers
parent3f9a6b6e45f914b4115da125390e95631379df37 (diff)
downloadpkgsrc-654322b9f617dc1674e8094e2551ad22beb75cfa.tar.gz
Remove conflicting declaration of malloc() and realloc(); include stdlib.h
instead.
Diffstat (limited to 'archivers')
-rw-r--r--archivers/macutil/distinfo3
-rw-r--r--archivers/macutil/patches/patch-ad15
2 files changed, 17 insertions, 1 deletions
diff --git a/archivers/macutil/distinfo b/archivers/macutil/distinfo
index 2eefa8d1f82..72f5e04dd36 100644
--- a/archivers/macutil/distinfo
+++ b/archivers/macutil/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.6 2005/11/07 13:23:36 joerg Exp $
+$NetBSD: distinfo,v 1.7 2006/06/20 22:53:22 minskim Exp $
SHA1 (macutil2.0b3.shar.Z) = 820e4dd278fe8d043306134aaafccab10b832218
RMD160 (macutil2.0b3.shar.Z) = 5cf3b22d8bdd3a8fa61211e7a0d598ebac9bbfe4
@@ -6,3 +6,4 @@ Size (macutil2.0b3.shar.Z) = 167565 bytes
SHA1 (patch-aa) = 418d0cdd57a0d378902b653cd4ddb8279ff0e0e8
SHA1 (patch-ab) = a731ae3a6d796206a8f27d5a93f35e054bf87cc6
SHA1 (patch-ac) = c7ea3081e7d9c61cb79c5cfa2cb9de804fe6462a
+SHA1 (patch-ad) = 05a1b84a78693291e6fe95af853413bee5f51070
diff --git a/archivers/macutil/patches/patch-ad b/archivers/macutil/patches/patch-ad
new file mode 100644
index 00000000000..58d82e16cfa
--- /dev/null
+++ b/archivers/macutil/patches/patch-ad
@@ -0,0 +1,15 @@
+$NetBSD: patch-ad,v 1.1 2006/06/20 22:53:22 minskim Exp $
+
+--- hexbin/buffer.c.orig 2006-06-20 22:50:39.000000000 +0000
++++ hexbin/buffer.c
+@@ -3,8 +3,8 @@
+ #include "buffer.h"
+ #include "../fileio/wrfile.h"
+
+-extern char *malloc();
+-extern char *realloc();
++#include <stdlib.h>
++
+ extern void exit();
+
+ char *data_fork, *rsrc_fork;