diff options
author | minskim <minskim@pkgsrc.org> | 2006-06-07 21:06:49 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2006-06-07 21:06:49 +0000 |
commit | 31c01942188d4a2dfd21f8dcf10e8713450bc343 (patch) | |
tree | d3f5b42bc12d2e182059ed3e0bdc69cad4873b88 /print/a2ps | |
parent | 2ccf26bf1b2c189d565013f77515d9a7b93d7cc5 (diff) | |
download | pkgsrc-31c01942188d4a2dfd21f8dcf10e8713450bc343.tar.gz |
Remove a conflicting declaration of malloc(); include stdlib.h instead.
Diffstat (limited to 'print/a2ps')
-rw-r--r-- | print/a2ps/distinfo | 3 | ||||
-rw-r--r-- | print/a2ps/patches/patch-af | 19 |
2 files changed, 21 insertions, 1 deletions
diff --git a/print/a2ps/distinfo b/print/a2ps/distinfo index 26be828a0f5..ae38a62f824 100644 --- a/print/a2ps/distinfo +++ b/print/a2ps/distinfo @@ -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-ab) = ba7446a32733d60910036190be957045d4ec1218 SHA1 (patch-ac) = 5daaedd3866c731206b829124d8a3f4741512d17 SHA1 (patch-ad) = a9ed67aeb2723153e1023980ff69086bca0f1f59 SHA1 (patch-ae) = 34b45a6c37b721547d23c1d65e51b6e919cb3671 +SHA1 (patch-af) = 5ef90175f69a70e57aac8fa9a9d487f5a5c86820 diff --git a/print/a2ps/patches/patch-af b/print/a2ps/patches/patch-af new file mode 100644 index 00000000000..81157dd539a --- /dev/null +++ b/print/a2ps/patches/patch-af @@ -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 |