pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/netpbm Add a patch that disables optimization...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/78109f6302e3
branches:  trunk
changeset: 471242:78109f6302e3
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon Mar 22 15:52:35 2004 +0000

description:
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:

 graphics/netpbm/distinfo         |   3 ++-
 graphics/netpbm/patches/patch-ab |  18 ++++++++++++++++++
 2 files changed, 20 insertions(+), 1 deletions(-)

diffs (36 lines):

diff -r abe6e01b25dd -r 78109f6302e3 graphics/netpbm/distinfo
--- a/graphics/netpbm/distinfo  Mon Mar 22 15:06:52 2004 +0000
+++ b/graphics/netpbm/distinfo  Mon Mar 22 15:52:35 2004 +0000
@@ -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 -r abe6e01b25dd -r 78109f6302e3 graphics/netpbm/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/netpbm/patches/patch-ab  Mon Mar 22 15:52:35 2004 +0000
@@ -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



Home | Main Index | Thread Index | Old Index