summaryrefslogtreecommitdiff
path: root/archivers/macutil/patches/patch-ad
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/macutil/patches/patch-ad
parent3f9a6b6e45f914b4115da125390e95631379df37 (diff)
downloadpkgsrc-654322b9f617dc1674e8094e2551ad22beb75cfa.tar.gz
Remove conflicting declaration of malloc() and realloc(); include stdlib.h
instead.
Diffstat (limited to 'archivers/macutil/patches/patch-ad')
-rw-r--r--archivers/macutil/patches/patch-ad15
1 files changed, 15 insertions, 0 deletions
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;