summaryrefslogtreecommitdiff
path: root/graphics/netpbm/patches
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2007-02-19 02:25:19 +0000
committerrillig <rillig@pkgsrc.org>2007-02-19 02:25:19 +0000
commit21f69c29233fe2376e3f79055caba53d6d8c6f2b (patch)
tree1486abb16312dd9f6dad9f3b5ac5c9a2191bc473 /graphics/netpbm/patches
parente354766dbd3de78a698c83add332692e289348aa (diff)
downloadpkgsrc-21f69c29233fe2376e3f79055caba53d6d8c6f2b.tar.gz
Fixed the build on IRIX, which had been broken since about one year,
when the build on Solaris had been fixed, "not affecting other platforms". ;)
Diffstat (limited to 'graphics/netpbm/patches')
-rw-r--r--graphics/netpbm/patches/patch-aa6
-rw-r--r--graphics/netpbm/patches/patch-ppmdraw13
2 files changed, 16 insertions, 3 deletions
diff --git a/graphics/netpbm/patches/patch-aa b/graphics/netpbm/patches/patch-aa
index 0afe376d83b..4b6ff715a5c 100644
--- a/graphics/netpbm/patches/patch-aa
+++ b/graphics/netpbm/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.38 2006/06/25 06:35:58 adam Exp $
+$NetBSD: patch-aa,v 1.39 2007/02/19 02:25:19 rillig Exp $
--- Makefile.config.in.orig 2006-06-18 21:23:40.000000000 +0200
+++ Makefile.config.in
@@ -160,8 +160,8 @@ $NetBSD: patch-aa,v 1.38 2006/06/25 06:35:58 adam Exp $
# The Jasper JPEG-2000 image compression library (aka JasPer):
-JASPERLIB = $(INTERNAL_JASPERLIB)
-JASPERHDR_DIR = $(INTERNAL_JASPERHDR_DIR)
-+#JASPERLIB = $(INTERNAL_JASPERLIB)
-+#JASPERHDR_DIR = $(INTERNAL_JASPERHDR_DIR)
++JASPERLIB = -ljasper
++JASPERHDR_DIR = /doesnt-matter
# JASPERDEPLIBS is the libraries (-l options or file names) on which
# The Jasper library depends -- i.e. what you have to link into any
# executable that links in the Jasper library.
diff --git a/graphics/netpbm/patches/patch-ppmdraw b/graphics/netpbm/patches/patch-ppmdraw
new file mode 100644
index 00000000000..5aa212a3b23
--- /dev/null
+++ b/graphics/netpbm/patches/patch-ppmdraw
@@ -0,0 +1,13 @@
+$NetBSD: patch-ppmdraw,v 1.1 2007/02/19 02:25:19 rillig Exp $
+
+--- editor/ppmdraw.c.orig Sun Apr 23 21:01:54 2006
++++ editor/ppmdraw.c Sun Feb 18 20:35:09 2007
+@@ -1,4 +1,8 @@
++#if defined(__sgi)
++#define _XOPEN_SOURCE 500 /* Needed for strdup(3) */
++#else
+ #define _XOPEN_SOURCE /* Make sure M_PI is in math.h */
++#endif
+ #define _BSD_SOURCE /* Make sure strdup is in string.h */
+
+ #include <string.h>