pkgsrc/graphics/netpbm/patches/patch-ae
jschauma c4a4a453fe Make this compile on Irix.
(use 'ar rs' instead of ranlib on Irix, don't use '-fPIC', make sure
strdup is properly prototyped)
2003-09-07 17:22:15 +00:00

12 lines
436 B
Text

$NetBSD: patch-ae,v 1.9 2003/09/07 17:22:16 jschauma Exp $
--- generator/pbmtextps.c.orig Sat Sep 6 23:31:49 2003
+++ generator/pbmtextps.c Sat Sep 6 23:32:23 2003
@@ -13,7 +13,6 @@
* PostScript is a registered trademark of Adobe Systems International.
*
*/
-#define _XOPEN_SOURCE /* Make sure popen() is in stdio.h */
#define _BSD_SOURCE /* Make sure stdrup() is in string.h */
#include <stdio.h>
#include <stdlib.h>