summaryrefslogtreecommitdiff
path: root/graphics/netpbm
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2004-03-22 15:52:35 +0000
committerwiz <wiz@pkgsrc.org>2004-03-22 15:52:35 +0000
commit4f517c0a1c58e8b88f3e88254e87565bd00addbc (patch)
treebcfd099a1d68baffa696128126bacae99d67a35c /graphics/netpbm
parentfaf0c090a727f01be4da782ad7fea787ee2f1c62 (diff)
downloadpkgsrc-4f517c0a1c58e8b88f3e88254e87565bd00addbc.tar.gz
Add a patch that disables optimization for one file; otherwise
an ICE would result with gcc-3.3.x on sparc64. See PR 23124. Patch from jdc@.
Diffstat (limited to 'graphics/netpbm')
-rw-r--r--graphics/netpbm/distinfo3
-rw-r--r--graphics/netpbm/patches/patch-ab18
2 files changed, 20 insertions, 1 deletions
diff --git a/graphics/netpbm/distinfo b/graphics/netpbm/distinfo
index 23ed51c9218..8e837839b6a 100644
--- a/graphics/netpbm/distinfo
+++ b/graphics/netpbm/distinfo
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.18 2003/09/07 17:22:15 jschauma Exp $
+$NetBSD: distinfo,v 1.19 2004/03/22 15:52:35 wiz Exp $
SHA1 (netpbm-10.11.8.tgz) = ecfe6e59688bb3a44c178a6b6bfb923039c4229e
Size (netpbm-10.11.8.tgz) = 1911118 bytes
SHA1 (patch-aa) = 22de5096922df8353e8a42da59b9adb65afd6dd8
+SHA1 (patch-ab) = 2dfd877d04eb5fc92a1f1e4619a3324c37cc371a
SHA1 (patch-ac) = cd8bb4318828a9872cce2793635c4bc51272d199
SHA1 (patch-ad) = 21c7cce58e010d9323bbfac514e7d0bd39f4723c
SHA1 (patch-ae) = 8a46f8c0b1c0efe57533dba55d18459135e796ea
diff --git a/graphics/netpbm/patches/patch-ab b/graphics/netpbm/patches/patch-ab
new file mode 100644
index 00000000000..a4de893728f
--- /dev/null
+++ b/graphics/netpbm/patches/patch-ab
@@ -0,0 +1,18 @@
+$NetBSD: patch-ab,v 1.13 2004/03/22 15:52:35 wiz Exp $
+
+--- converter/other/Makefile.orig Wed Jan 8 22:52:23 2003
++++ converter/other/Makefile
+@@ -94,6 +94,13 @@ HEADERLINKS = pm_config.h pm.h pbm.h pgm
+
+ include $(SRCDIR)/Makefile.common
+
++# XXX sparc64 gcc 3.3.x toolchain bug means we must compile exif.o without
++# optimisation
++EXIF_CFLAGS=$(CFLAGS:-O2=)
++exif.o: exif.c
++ $(CC) -c -I$(SRCDIR)/$(SUBDIR) -I. $(INCLUDES) \
++ $(EXIF_CFLAGS) $(CADD) -o $@ $<
++
+ ifeq ($(NEED_RUNTIME_PATH),Y)
+ LIBOPTR = -runtime
+ else