pkgsrc/graphics/gimp/patches/patch-ab
adam c866e02b01 Changes 2.2.8:
- fixed possible crash in plug-ins-query PDB function
- fixes to Script-Fu server mode on Win32
- fixed possible crash in win32 gimptool variant
- plugged a tiny memleak in the image display code
- plugged a tiny memleak in libgimpwidgets
- attempt to fix calling the web-browser on win32
- fixed loading of images in help-browser plug-in on win32
- fixed zoom offsets if dot-for-dot mode is disabled
- fixes to Gfig parasite loading
- disabled buggy gimprc option stingy-memory-use
- don't try to create a preview for a non-existant image file
- fixed bug in Retinex plug-in
- fixed bug in Newsprint plug-in
- fixed bug in Shift plug-in
- fixed bug in Grid plug-in
2005-06-30 15:14:07 +00:00

40 lines
1.2 KiB
Text

$NetBSD: patch-ab,v 1.15 2005/06/30 15:14:07 adam Exp $
--- configure.orig 2005-06-26 19:28:30.000000000 +0000
+++ configure
@@ -28035,8 +28035,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
@@ -28076,7 +28084,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
@@ -33947,7 +33955,7 @@ fi;
gimpdatadir="$datadir/$PACKAGE/2.0"
gimpplugindir="$libdir/$PACKAGE/2.0"
-gimpsysconfdir="$sysconfdir/$PACKAGE/2.0"
+gimpsysconfdir="$sysconfdir"