summaryrefslogtreecommitdiff
path: root/devel/liboil
diff options
context:
space:
mode:
authorsketch <sketch@pkgsrc.org>2009-01-26 14:08:13 +0000
committersketch <sketch@pkgsrc.org>2009-01-26 14:08:13 +0000
commit58627bc5ce97a0c16efe8c42a9e22e37fa9f299b (patch)
tree3036e71cbb0d23348e61261e492993874d98c92d /devel/liboil
parent6057bb9da24737671391d2603fd542ca4a6b53d6 (diff)
downloadpkgsrc-58627bc5ce97a0c16efe8c42a9e22e37fa9f299b.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')
-rw-r--r--devel/liboil/distinfo3
-rw-r--r--devel/liboil/patches/patch-aa14
2 files changed, 16 insertions, 1 deletions
diff --git a/devel/liboil/distinfo b/devel/liboil/distinfo
index b0419873b94..1e99a9510b3 100644
--- a/devel/liboil/distinfo
+++ b/devel/liboil/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.14 2008/07/30 09:53:36 wiz Exp $
+$NetBSD: distinfo,v 1.15 2009/01/26 14:08:13 sketch Exp $
SHA1 (liboil-0.3.15.tar.gz) = 8791e3399aae619b89a1d00f40ffcafc7d7f5d9b
RMD160 (liboil-0.3.15.tar.gz) = ba6a4889dd8c16f62dee5c238e019b42066e6a9b
Size (liboil-0.3.15.tar.gz) = 822195 bytes
+SHA1 (patch-aa) = 363219c8afee30ac07f73278f127de01d6a5b689
SHA1 (patch-ab) = 13ff4bef610a28174a2a41b74029f24f04fd598f
SHA1 (patch-ac) = 4559e8b635099d96df59bcc5525eb3c0322720ba
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;