diff options
author | minskim <minskim> | 2006-06-07 21:06:49 +0000 |
---|---|---|
committer | minskim <minskim> | 2006-06-07 21:06:49 +0000 |
commit | b8e02b05ec6060cd249503cbda46657ffff6d69d (patch) | |
tree | d3f5b42bc12d2e182059ed3e0bdc69cad4873b88 /print/a2ps/patches | |
parent | 605792c7b19fbe4adfce301f75cdb2528b9debf3 (diff) | |
download | pkgsrc-b8e02b05ec6060cd249503cbda46657ffff6d69d.tar.gz |
Remove a conflicting declaration of malloc(); include stdlib.h instead.
Diffstat (limited to 'print/a2ps/patches')
-rw-r--r-- | print/a2ps/patches/patch-af | 19 |
1 files changed, 19 insertions, 0 deletions
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 |