diff options
author | sketch <sketch> | 2009-01-26 14:08:13 +0000 |
---|---|---|
committer | sketch <sketch> | 2009-01-26 14:08:13 +0000 |
commit | 66c39eee2cda5d3fb2a61e51728e808291aa2a85 (patch) | |
tree | 3036e71cbb0d23348e61261e492993874d98c92d /devel/liboil/patches | |
parent | 540597d5599219bbeaf85ce83c1a41b6b3def054 (diff) | |
download | pkgsrc-66c39eee2cda5d3fb2a61e51728e808291aa2a85.tar.gz |
Although the Sun Studio compiler fools configure into thinking it supports
the necessary SSE2 instructions, the actual source doesn't build, so
explicitly disable it.
Diffstat (limited to 'devel/liboil/patches')
-rw-r--r-- | devel/liboil/patches/patch-aa | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/devel/liboil/patches/patch-aa b/devel/liboil/patches/patch-aa new file mode 100644 index 00000000000..2cf48bdbf5f --- /dev/null +++ b/devel/liboil/patches/patch-aa @@ -0,0 +1,14 @@ +$NetBSD: patch-aa,v 1.10 2009/01/26 14:08:13 sketch Exp $ + +--- configure.orig Mon Jan 26 13:57:43 2009 ++++ configure Mon Jan 26 13:58:58 2009 +@@ -16800,6 +16800,9 @@ + #error GCC before 4.2 has critical bugs compiling SSE2 intrinsics + #endif + #endif ++#ifdef __SUNPRO_C ++#error Sun Studio SSE2 intrinsics support does not work for this package ++#endif + __m128i a; a = _mm_setzero_si128(); a = _mm_srli_epi16(a,8) + ; + return 0; |