summaryrefslogtreecommitdiff
path: root/graphics/netpbm
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2009-07-21 12:39:54 +0000
committertnn <tnn@pkgsrc.org>2009-07-21 12:39:54 +0000
commit097b0489251ce83e249553882ade7366dd1d179c (patch)
tree0670d27f3997d351a218ba7a1309362817ffba31 /graphics/netpbm
parent5f8e5babe8d04b7efe3d289284676f8aedcfe894 (diff)
downloadpkgsrc-097b0489251ce83e249553882ade7366dd1d179c.tar.gz
patch-az: MMX/SSE code is broken with GCC 4.3, disable it.
Diffstat (limited to 'graphics/netpbm')
-rw-r--r--graphics/netpbm/distinfo3
-rw-r--r--graphics/netpbm/patches/patch-az13
2 files changed, 15 insertions, 1 deletions
diff --git a/graphics/netpbm/distinfo b/graphics/netpbm/distinfo
index afd9bc4cf57..1c564bd741d 100644
--- a/graphics/netpbm/distinfo
+++ b/graphics/netpbm/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.68 2009/07/18 03:04:41 smb Exp $
+$NetBSD: distinfo,v 1.69 2009/07/21 12:39:54 tnn Exp $
SHA1 (netpbm-10.34.tgz) = 530458871f9d3dc763a1bf82f227eeb79098c601
RMD160 (netpbm-10.34.tgz) = 57a596efa6cacb981135d554a72cbaffc4cfe72c
@@ -28,6 +28,7 @@ SHA1 (patch-av) = ef10c607f40dc5cc64dc77c04b1daca4e0ce34eb
SHA1 (patch-aw) = bd890324e95fa7bb893d9d5cdab9d5a33dcff777
SHA1 (patch-ax) = d50e56191192b4caf423ed081581868bb1a63de8
SHA1 (patch-ay) = 60ab532de6d6ec498ada140f795bba327a562e13
+SHA1 (patch-az) = 9e378425be66ee5a08b5efa7ff9b83303530f02a
SHA1 (patch-ca) = b63be9bd38dd182949edf3b892608b72d13c1fa0
SHA1 (patch-cb) = b1be33ae6acfe57bf2f407cd48a6b140c3ddea85
SHA1 (patch-da) = 37b30f7b6674150685d406570802a7250dce51a6
diff --git a/graphics/netpbm/patches/patch-az b/graphics/netpbm/patches/patch-az
new file mode 100644
index 00000000000..dc9f3e466ac
--- /dev/null
+++ b/graphics/netpbm/patches/patch-az
@@ -0,0 +1,13 @@
+$NetBSD: patch-az,v 1.3 2009/07/21 12:39:54 tnn Exp $
+
+--- lib/libpbm3.c.orig 2004-12-13 19:42:39.000000000 +0100
++++ lib/libpbm3.c
+@@ -14,7 +14,7 @@
+ #include "libpbm.h"
+ #include "bitreverse.h"
+
+-#if defined(__GNUC__) && (__GNUC__ >=3) && (__GNUC_MINOR__ >=1) && defined (__SSE__)
++#if defined(__GNUC__) && (__GNUC__ >=3) && (__GNUC_MINOR__ >=1) && defined (__SSE__) && !(__GNUC__ == 4 && __GNUC_MINOR >= 3)
+ /* intel MMX-SSE enhancement for pbm_writepbmowraw() */
+ /* GCC only. Turn on with -msse */
+