summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/openexr/distinfo4
-rw-r--r--graphics/openexr/patches/patch-aa16
2 files changed, 17 insertions, 3 deletions
diff --git a/graphics/openexr/distinfo b/graphics/openexr/distinfo
index 6194908a171..fd547da6743 100644
--- a/graphics/openexr/distinfo
+++ b/graphics/openexr/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.26 2014/08/19 13:34:42 joerg Exp $
+$NetBSD: distinfo,v 1.27 2015/04/13 18:45:46 jperkin Exp $
SHA1 (openexr-2.2.0.tar.gz) = d09a68c4443b7a12a0484c073adaef348b44cb92
RMD160 (openexr-2.2.0.tar.gz) = a825ed42e731da3bc39f25ce2a310712a5b0f956
@@ -6,5 +6,5 @@ Size (openexr-2.2.0.tar.gz) = 14489661 bytes
SHA1 (patch-IlmImf_ImfFastHuf.cpp) = bf583b5e0efb1af6e00d671b07d4cc154e13ac44
SHA1 (patch-IlmImf_ImfSystemSpecific.cpp) = 79bf644181650fa7dc13c04dfeb68142bde6a2b6
SHA1 (patch-IlmImf_ImfSystemSpecific.h) = f36d049085e42beabcf5f7af5354009391a1f9f2
-SHA1 (patch-aa) = 08b38d81338fc755c321911a9ffa3cccb53e99f3
+SHA1 (patch-aa) = 8633b04f9c13f163947e7ac81eb4ef7a6fd9eb88
SHA1 (patch-ab) = 0efe7155350e1976d1d7bad9da8b1a037fd84572
diff --git a/graphics/openexr/patches/patch-aa b/graphics/openexr/patches/patch-aa
index e76790be4a4..061d5ff852a 100644
--- a/graphics/openexr/patches/patch-aa
+++ b/graphics/openexr/patches/patch-aa
@@ -1,7 +1,8 @@
-$NetBSD: patch-aa,v 1.9 2014/08/11 19:42:46 adam Exp $
+$NetBSD: patch-aa,v 1.10 2015/04/13 18:45:46 jperkin Exp $
Shell portability fix: see
https://savannah.nongnu.org/bugs/index.php?22222
+Ensure asm instructions are checked correctly.
--- configure.orig 2014-08-10 04:48:26.000000000 +0000
+++ configure
@@ -14,6 +15,19 @@ https://savannah.nongnu.org/bugs/index.php?22222
+@@ -17584,10 +17584,10 @@ main ()
+ int n = 0;
+ int eax = 0;
+ int edx = 0;
+- __asm__(
++ __asm__ volatile (
+ "xgetbv \n"
+ "vzeroupper "
+- : "=a"(eax), "=d"(edx) : "c"(n) : );
++ : "=a"(eax), "=d"(edx) : "c"(n) );
+ #else
+ #error No GCC style inline asm supported for AVX instructions
+ #endif
@@ -17631,7 +17631,7 @@ fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
{ $as_echo "$as_me:$LINENO: result: $gcc_inline_asm_avx" >&5