summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorfredb <fredb>2002-07-19 04:33:29 +0000
committerfredb <fredb>2002-07-19 04:33:29 +0000
commit0d62d9b1145957d499052c9ae52087e5f64bcacb (patch)
tree131c7eb320a7b8f4b08b034752cba571a586a757 /graphics
parentd317f8231d3d9b027d7dbf94b45cf5e1f177a55b (diff)
downloadpkgsrc-0d62d9b1145957d499052c9ae52087e5f64bcacb.tar.gz
Work around a gcc-2.95.3/m68k optimization bug, reported by Klaus Heinz
in PR pkg/17553.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/gdk-pixbuf/distinfo3
-rw-r--r--graphics/gdk-pixbuf/patches/patch-aa31
2 files changed, 33 insertions, 1 deletions
diff --git a/graphics/gdk-pixbuf/distinfo b/graphics/gdk-pixbuf/distinfo
index 70acd5c486f..51dfc1d78fc 100644
--- a/graphics/gdk-pixbuf/distinfo
+++ b/graphics/gdk-pixbuf/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.6 2002/05/11 11:56:58 rh Exp $
+$NetBSD: distinfo,v 1.7 2002/07/19 04:33:29 fredb Exp $
SHA1 (gdk-pixbuf-0.17.0.tar.gz) = afff9706b5ff81bb1eaf631507ed331e0a5b7313
Size (gdk-pixbuf-0.17.0.tar.gz) = 547194 bytes
+SHA1 (patch-aa) = 7cdd7081875d670d24e97a1b77812703d129d73d
SHA1 (patch-ac) = efeb07a327c866bee7ddddbd94a7fae214e4c4d8
SHA1 (patch-ad) = 4a16e30eda46b55f51f87785e5f76ea33d3bd8ed
SHA1 (patch-ae) = 8c68907ba7566b1432d5593caeb6ab4f0551f27d
diff --git a/graphics/gdk-pixbuf/patches/patch-aa b/graphics/gdk-pixbuf/patches/patch-aa
new file mode 100644
index 00000000000..d7bc4c59da6
--- /dev/null
+++ b/graphics/gdk-pixbuf/patches/patch-aa
@@ -0,0 +1,31 @@
+$NetBSD: patch-aa,v 1.3 2002/07/19 04:33:29 fredb Exp $
+
+This is to work-around the following error, reported in PR pkg/17553:
+
+cc -DHAVE_CONFIG_H -I. -I. -I../.. -I/t/pkgobj/graphics/gdk-pixbuf/work.m68k/.buildlink/include/glib/glib-1.2 -I/t/pkgobj/graphics/gdk-pixbuf/work.m68k/.buildlink/lib/glib/include -I/t/pkgobj/graphics/gdk-pixbuf/work.m68k/.buildlink/include/gtk-1.2 -I/t/pkgobj/graphics/gdk-pixbuf/work.m68k/.buildlink/include/glib/glib-1.2 -I/t/pkgobj/graphics/gdk-pixbuf/work.m68k/.buildlink/lib/glib/include -I/usr/pkg/share/x11-links/include -I../../gdk-pixbuf -I/t/pkgobj/graphics/gdk-pixbuf/work.m68k/.buildlink/include -I/usr/pkg/share/x11-links/include -I/t/pkgobj/graphics/gdk-pixbuf/work.m68k/.buildlink/include -O2 -I/usr/pkg/share/x11-links/include -c pixops.c -fPIC -DPIC -o .libs/pixops.o
+pixops.c: In function `bilinear_quadrant':
+pixops.c:1349: internal error--unrecognizable insn:
+(insn 204 56 58 (set (reg:DF 17 %fp1)
+ (const_double:DF (mem/u:DF (symbol_ref/u:SI ("*.LC10")) 0) 0 [0x0] 0 [0x0] 0 [0x0])) -1 (nil)
+ (nil))
+gmake[3]: *** [pixops.lo] Error 1
+gmake[3]: Leaving directory `/t/pkgobj/graphics/gdk-pixbuf/work.m68k/gdk-pixbuf-0.17.0/gdk-pixbuf/pixops'
+[and so on]
+
+--- gdk-pixbuf/pixops/Makefile.am.orig Mon May 22 13:49:06 2000
++++ gdk-pixbuf/pixops/Makefile.am
+@@ -21,5 +21,14 @@
+ pixops-internal.h \
+ $(mmx_sources)
+
++ifeq (m68k,$(findstring m68k,$(host_alias)))
++pixops.o: pixops.c
++ $(COMPILE) -O -c $<
++
++pixops.lo: pixops.c
++ $(LIBTOOL) --mode=compile $(COMPILE) -O -c $<
++
++ endif
++
+ EXTRA_DIST = \
+ DETAILS