summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2006-07-21 16:16:40 +0000
committerminskim <minskim@pkgsrc.org>2006-07-21 16:16:40 +0000
commit6f197d6145589abd73e08de8f042484e3f27eea3 (patch)
treeec2a997dc7f6efc83ba1ff7be787640681843cce
parentc02e50998d725e50c7ce0ab0827665e1ade437fc (diff)
downloadpkgsrc-6f197d6145589abd73e08de8f042484e3f27eea3.tar.gz
Remove conflicting declaration of malloc(); include stdlib.h instead.
-rw-r--r--misc/mmv/distinfo4
-rw-r--r--misc/mmv/patches/patch-ab10
2 files changed, 9 insertions, 5 deletions
diff --git a/misc/mmv/distinfo b/misc/mmv/distinfo
index 7a9ed10bc7f..3b2d6c9d033 100644
--- a/misc/mmv/distinfo
+++ b/misc/mmv/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.6 2005/11/10 18:10:36 joerg Exp $
+$NetBSD: distinfo,v 1.7 2006/07/21 16:16:40 minskim Exp $
SHA1 (mmv_1.01b.orig.tar.gz) = 538a26b1d7e8b9bc286843e6aa2d8d959d8914bb
RMD160 (mmv_1.01b.orig.tar.gz) = b268bd5ec5149a4628b73844221f6f60b026e80b
Size (mmv_1.01b.orig.tar.gz) = 25656 bytes
SHA1 (patch-aa) = eb97c23ee711b1650d4e36ba61258ee704fd6766
-SHA1 (patch-ab) = 29fa2b73314e2aeb851a3b87745825d78e61ca9b
+SHA1 (patch-ab) = a8afcdd79dbfba3bb99f83c94652bd1e28f051cd
diff --git a/misc/mmv/patches/patch-ab b/misc/mmv/patches/patch-ab
index 58ab1336143..12345516714 100644
--- a/misc/mmv/patches/patch-ab
+++ b/misc/mmv/patches/patch-ab
@@ -1,8 +1,12 @@
-$NetBSD: patch-ab,v 1.4 2005/11/10 18:10:36 joerg Exp $
+$NetBSD: patch-ab,v 1.5 2006/07/21 16:16:40 minskim Exp $
--- mmv.c.orig 1993-10-25 10:29:39.000000000 +0000
+++ mmv.c
-@@ -123,10 +123,14 @@ extern unsigned _stklen = 10000;
+@@ -120,13 +120,17 @@ extern unsigned _stklen = 10000;
+ #else
+ /* for various flavors of UN*X */
+
++#include <stdlib.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/file.h>
@@ -12,7 +16,7 @@ $NetBSD: patch-ab,v 1.4 2005/11/10 18:10:36 joerg Exp $
+#if !(defined(BSD) && BSD >= 199306)
extern char *getenv();
extern long lseek();
- extern char *malloc();
+-extern char *malloc();
+#endif
#ifdef HAS_DIRENT