pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/misc/mmv Remove conflicting declaration of malloc(); i...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/aa7030f05897
branches:  trunk
changeset: 516471:aa7030f05897
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Fri Jul 21 16:16:40 2006 +0000

description:
Remove conflicting declaration of malloc(); include stdlib.h instead.

diffstat:

 misc/mmv/distinfo         |   4 ++--
 misc/mmv/patches/patch-ab |  10 +++++++---
 2 files changed, 9 insertions(+), 5 deletions(-)

diffs (40 lines):

diff -r cf4e5761f7fb -r aa7030f05897 misc/mmv/distinfo
--- a/misc/mmv/distinfo Fri Jul 21 15:36:56 2006 +0000
+++ b/misc/mmv/distinfo Fri Jul 21 16:16:40 2006 +0000
@@ -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 -r cf4e5761f7fb -r aa7030f05897 misc/mmv/patches/patch-ab
--- a/misc/mmv/patches/patch-ab Fri Jul 21 15:36:56 2006 +0000
+++ b/misc/mmv/patches/patch-ab Fri Jul 21 16:16:40 2006 +0000
@@ -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 @@
 +#if !(defined(BSD) && BSD >= 199306)
  extern char *getenv();
  extern long lseek();
- extern char *malloc();
+-extern char *malloc();
 +#endif
  
  #ifdef HAS_DIRENT



Home | Main Index | Thread Index | Old Index