pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/print/a2ps Remove a conflicting declaration of malloc(...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/82bc49c0a792
branches:  trunk
changeset: 514108:82bc49c0a792
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Wed Jun 07 21:06:49 2006 +0000

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

diffstat:

 print/a2ps/distinfo         |   3 ++-
 print/a2ps/patches/patch-af |  19 +++++++++++++++++++
 2 files changed, 21 insertions(+), 1 deletions(-)

diffs (37 lines):

diff -r 038a6d81a905 -r 82bc49c0a792 print/a2ps/distinfo
--- a/print/a2ps/distinfo       Wed Jun 07 21:01:15 2006 +0000
+++ b/print/a2ps/distinfo       Wed Jun 07 21:06:49 2006 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.9 2005/06/09 14:53:49 salo Exp $
+$NetBSD: distinfo,v 1.10 2006/06/07 21:06:49 minskim Exp $
 
 SHA1 (a2ps-4.13b.tar.gz) = cfc79a3e54115e569f667fa3fd2c2ec16d22b31a
 RMD160 (a2ps-4.13b.tar.gz) = affc47a7487f2459184be0be76e49b1e185fc53d
@@ -8,3 +8,4 @@
 SHA1 (patch-ac) = 5daaedd3866c731206b829124d8a3f4741512d17
 SHA1 (patch-ad) = a9ed67aeb2723153e1023980ff69086bca0f1f59
 SHA1 (patch-ae) = 34b45a6c37b721547d23c1d65e51b6e919cb3671
+SHA1 (patch-af) = 5ef90175f69a70e57aac8fa9a9d487f5a5c86820
diff -r 038a6d81a905 -r 82bc49c0a792 print/a2ps/patches/patch-af
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/a2ps/patches/patch-af       Wed Jun 07 21:06:49 2006 +0000
@@ -0,0 +1,19 @@
+$NetBSD: patch-af,v 1.4 2006/06/07 21:06:49 minskim Exp $
+
+--- lib/path-concat.c.orig     1999-10-10 18:34:46.000000000 +0000
++++ lib/path-concat.c
+@@ -26,13 +26,12 @@
+ #endif
+ 
+ #include <stdio.h>
++#include <stdlib.h>
+ #if HAVE_STRING_H
+ # include <string.h>
+ #endif
+ #include <sys/types.h>
+ 
+-char *malloc ();
+-
+ #ifndef DIRECTORY_SEPARATOR
+ # define DIRECTORY_SEPARATOR '/'
+ #endif



Home | Main Index | Thread Index | Old Index