pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/gimp Fix building and enable AltiVec support ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/ce77d21d11b3
branches: trunk
changeset: 474622:ce77d21d11b3
user: adam <adam%pkgsrc.org@localhost>
date: Mon May 03 06:45:28 2004 +0000
description:
Fix building and enable AltiVec support on Darwin/MacOSX
diffstat:
graphics/gimp/distinfo | 4 +++-
graphics/gimp/patches/patch-ac | 31 +++++++++++++++++++++++++++++++
graphics/gimp/patches/patch-ad | 13 +++++++++++++
3 files changed, 47 insertions(+), 1 deletions(-)
diffs (65 lines):
diff -r 95b0b1c99d6e -r ce77d21d11b3 graphics/gimp/distinfo
--- a/graphics/gimp/distinfo Mon May 03 05:54:05 2004 +0000
+++ b/graphics/gimp/distinfo Mon May 03 06:45:28 2004 +0000
@@ -1,6 +1,8 @@
-$NetBSD: distinfo,v 1.9 2004/04/15 08:37:38 adam Exp $
+$NetBSD: distinfo,v 1.10 2004/05/03 06:45:28 adam Exp $
SHA1 (gimp-2.0.1.tar.bz2) = 001b76ab22367a9245f1c3be3fd7c55240b1edbf
Size (gimp-2.0.1.tar.bz2) = 13467677 bytes
SHA1 (patch-aa) = b233a944fa69481685770aa4d5b24a07f127afcf
SHA1 (patch-ab) = 1b50ef4dfebb70a2e06a97decaa135526767cbcb
+SHA1 (patch-ac) = a45e93e27d0078c5120eed5017de385ce7f29175
+SHA1 (patch-ad) = 39eadbc4822fedf09d962ab500afa9d735db92a4
diff -r 95b0b1c99d6e -r ce77d21d11b3 graphics/gimp/patches/patch-ac
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/gimp/patches/patch-ac Mon May 03 06:45:28 2004 +0000
@@ -0,0 +1,31 @@
+$NetBSD: patch-ac,v 1.10 2004/05/03 06:45:28 adam Exp $
+
+--- configure.orig Sun May 2 21:28:07 2004
++++ configure
+@@ -27221,8 +27221,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
+@@ -27262,7 +27270,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
+
diff -r 95b0b1c99d6e -r ce77d21d11b3 graphics/gimp/patches/patch-ad
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/gimp/patches/patch-ad Mon May 03 06:45:28 2004 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ad,v 1.3 2004/05/03 06:45:28 adam Exp $
+
+--- app/base/cpu-accel.c.orig Sun May 2 23:15:36 2004
++++ app/base/cpu-accel.c
+@@ -366,7 +366,7 @@ arch_accel (void)
+ canjump = 1;
+
+ asm volatile ("mtspr 256, %0\n\t"
+- "vand %%v0, %%v0, %%v0"
++ "vand v0, v0, v0"
+ :
+ : "r" (-1));
+
Home |
Main Index |
Thread Index |
Old Index