diff options
author | tnn <tnn> | 2008-04-27 11:58:09 +0000 |
---|---|---|
committer | tnn <tnn> | 2008-04-27 11:58:09 +0000 |
commit | 90f550c39efea3a0eb099857586e3dd3a9443a55 (patch) | |
tree | 5b595fcc3321157923d15f6f367f4ec6251420b5 /x11/pixman/patches | |
parent | dcfb1a0c62a1952a3dc550a0c1065a9ff9b75313 (diff) | |
download | pkgsrc-90f550c39efea3a0eb099857586e3dd3a9443a55.tar.gz |
Skip the SSE2 configure test if we already know we don't have SSE,
because Sun Studio gets the result of the SSE2 test wrong.
Bump PKGREVISION.
Diffstat (limited to 'x11/pixman/patches')
-rw-r--r-- | x11/pixman/patches/patch-af | 24 |
1 files changed, 20 insertions, 4 deletions
diff --git a/x11/pixman/patches/patch-af b/x11/pixman/patches/patch-af index 3c372b5d7b5..c00fafc2efd 100644 --- a/x11/pixman/patches/patch-af +++ b/x11/pixman/patches/patch-af @@ -1,8 +1,15 @@ -$NetBSD: patch-af,v 1.1 2008/04/23 09:44:05 tnn Exp $ +$NetBSD: patch-af,v 1.2 2008/04/27 11:58:09 tnn Exp $ -http://gitweb.freedesktop.org/?p=pixman.git;a=blobdiff;h=637f835221631b0f3d79d8f0f3b256883d34770b;hp=79997e15ea645ab74d2858b574b4e8b451fb8084;hb=0c33317f59b93f5cab348619b1c38a5dce97de94;f=configure.ac +Basically this patch: ---- configure.orig 2008-04-23 11:18:48.000000000 +0200 +http://gitweb.freedesktop.org/?p=pixman.git;a=blobdiff;h=637f835221631b0f3d79d8 +f0f3b256883d34770b;hp=79997e15ea645ab74d2858b574b4e8b451fb8084;hb=0c33317f59b93f +5cab348619b1c38a5dce97de94;f=configure.ac + +... but also avoid --param inline-unit-growth with gcc3, +and don't attempt to use SSE2 if the SSE test failed. + +--- configure.orig 2008-03-27 15:02:11.000000000 +0100 +++ configure @@ -19762,7 +19762,11 @@ fi echo "${ECHO_T}$have_gcc4" >&6; } @@ -27,7 +34,7 @@ http://gitweb.freedesktop.org/?p=pixman.git;a=blobdiff;h=637f835221631b0f3d79d8f #if !defined(__amd64__) && !defined(__x86_64__) #error "Need x86-64 for SSE" #endif -@@ -19900,18 +19907,26 @@ fi +@@ -19900,18 +19907,27 @@ fi @@ -41,6 +48,7 @@ http://gitweb.freedesktop.org/?p=pixman.git;a=blobdiff;h=637f835221631b0f3d79d8f have_sse2_intrinsics=no { echo "$as_me:$LINENO: checking whether to use SSE2 intrinsics" >&5 echo $ECHO_N "checking whether to use SSE2 intrinsics... $ECHO_C" >&6; } ++if test $have_sse_intrinsics = yes; then xserver_save_CFLAGS=$CFLAGS -CFLAGS="$CFLAGS -msse2 $MMX_CFLAGS" +CFLAGS="$CFLAGS -msse2 $SSE_CFLAGS" @@ -56,3 +64,11 @@ http://gitweb.freedesktop.org/?p=pixman.git;a=blobdiff;h=637f835221631b0f3d79d8f int main () { __m128i a, b, c; c = _mm_xor_si128 (a, b); +@@ -19945,6 +19961,7 @@ fi + + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + CFLAGS=$xserver_save_CFLAGS ++fi + { echo "$as_me:$LINENO: result: $have_sse2_intrinsics" >&5 + echo "${ECHO_T}$have_sse2_intrinsics" >&6; } + |