pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/netpbm patch-az: MMX/SSE code is broken with ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c0c9081be907
branches:  trunk
changeset: 562124:c0c9081be907
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Tue Jul 21 12:39:54 2009 +0000

description:
patch-az: MMX/SSE code is broken with GCC 4.3, disable it.

diffstat:

 graphics/netpbm/distinfo         |   3 ++-
 graphics/netpbm/patches/patch-az |  13 +++++++++++++
 2 files changed, 15 insertions(+), 1 deletions(-)

diffs (34 lines):

diff -r df99d6bc62c2 -r c0c9081be907 graphics/netpbm/distinfo
--- a/graphics/netpbm/distinfo  Tue Jul 21 12:00:41 2009 +0000
+++ b/graphics/netpbm/distinfo  Tue Jul 21 12:39:54 2009 +0000
@@ -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-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 -r df99d6bc62c2 -r c0c9081be907 graphics/netpbm/patches/patch-az
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/netpbm/patches/patch-az  Tue Jul 21 12:39:54 2009 +0000
@@ -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 */
+ 



Home | Main Index | Thread Index | Old Index