summaryrefslogtreecommitdiff
path: root/graphics/gimp/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/gimp/patches/patch-ab')
-rw-r--r--graphics/gimp/patches/patch-ab33
1 files changed, 30 insertions, 3 deletions
diff --git a/graphics/gimp/patches/patch-ab b/graphics/gimp/patches/patch-ab
index d1b03165547..192985e1b3f 100644
--- a/graphics/gimp/patches/patch-ab
+++ b/graphics/gimp/patches/patch-ab
@@ -1,8 +1,35 @@
-$NetBSD: patch-ab,v 1.8 2004/04/15 08:37:38 adam Exp $
+$NetBSD: patch-ab,v 1.9 2004/06/21 19:48:41 adam Exp $
---- configure.orig 2004-04-13 21:08:57.000000000 +0000
+--- configure.orig 2004-06-16 10:03:06.000000000 +0000
+++ configure
-@@ -32586,7 +32586,7 @@ fi;
+@@ -27307,8 +27307,16 @@ if test "x$enable_altivec" = xyes; then
+ echo "$as_me:$LINENO: checking whether we can compile Altivec code" >&5
+ echo $ECHO_N "checking whether we can compile Altivec code... $ECHO_C" >&6
+
++ gimp_save_CFLAGS=$CFLAGS
++ case `uname` in
++ Darwin)
++ CFLAGS="$CFLAGS -faltivec"
++ ;;
++ *)
++ ;;
++ esac
+ cat >conftest.$ac_ext <<_ACEOF
+-asm ("vand %v0, %v0, %v0");
++asm ("vand v0, v0, v0");
+ _ACEOF
+ rm -f conftest.$ac_objext
+ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+@@ -27348,7 +27356,7 @@ enable_altivec=no
+ echo "${ECHO_T}no" >&6
+ { echo "$as_me:$LINENO: WARNING: The assembler does not support the Altivec command set." >&5
+ echo "$as_me: WARNING: The assembler does not support the Altivec command set." >&2;}
+-
++ CFLAGS=$gimp_save_CFLAGS
+ fi
+ rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
+
+@@ -32672,7 +32680,7 @@ fi;
gimpdatadir="$datadir/$PACKAGE/2.0"
gimpplugindir="$libdir/$PACKAGE/2.0"