pkgsrc/devel/liboil/patches/patch-aa
2010-02-07 16:12:25 +00:00

31 lines
736 B
Text

$NetBSD: patch-aa,v 1.12 2010/02/07 16:12:25 wiz Exp $
The first patch fixes the build under Mac OS X PowerPC, see here:
https://bugs.freedesktop.org/show_bug.cgi?id=20815
--- configure.orig 2010-02-04 20:36:06.000000000 +0000
+++ configure
@@ -11586,6 +11586,12 @@ int
main ()
{
+#ifdef __APPLE__
+#ifdef __ppc__
+#error Assembler support is broken under Mac OS X PowerPC.
+#endif
+#endif
+
#ifndef __GNUC__
#error Not GCC
#endif
@@ -13652,6 +13658,9 @@ main ()
#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;