diff options
author | minskim <minskim@pkgsrc.org> | 2006-06-20 22:53:22 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2006-06-20 22:53:22 +0000 |
commit | 654322b9f617dc1674e8094e2551ad22beb75cfa (patch) | |
tree | 70bf4c4e341fc0f9d089151d38ed62d5adee3e26 /archivers/macutil/patches/patch-ad | |
parent | 3f9a6b6e45f914b4115da125390e95631379df37 (diff) | |
download | pkgsrc-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-ad | 15 |
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; |