pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/archivers/macutil Remove conflicting declaration of ma...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4537c29efee6
branches:  trunk
changeset: 514941:4537c29efee6
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Tue Jun 20 22:53:22 2006 +0000

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

diffstat:

 archivers/macutil/distinfo         |   3 ++-
 archivers/macutil/patches/patch-ad |  15 +++++++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)

diffs (33 lines):

diff -r 08bd2a9b1506 -r 4537c29efee6 archivers/macutil/distinfo
--- a/archivers/macutil/distinfo        Tue Jun 20 22:50:13 2006 +0000
+++ b/archivers/macutil/distinfo        Tue Jun 20 22:53:22 2006 +0000
@@ -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 @@
 SHA1 (patch-aa) = 418d0cdd57a0d378902b653cd4ddb8279ff0e0e8
 SHA1 (patch-ab) = a731ae3a6d796206a8f27d5a93f35e054bf87cc6
 SHA1 (patch-ac) = c7ea3081e7d9c61cb79c5cfa2cb9de804fe6462a
+SHA1 (patch-ad) = 05a1b84a78693291e6fe95af853413bee5f51070
diff -r 08bd2a9b1506 -r 4537c29efee6 archivers/macutil/patches/patch-ad
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/macutil/patches/patch-ad        Tue Jun 20 22:53:22 2006 +0000
@@ -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;



Home | Main Index | Thread Index | Old Index