summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarol Wojtaszek <sekretarz@gentoo.org>2004-11-07 12:08:52 +0000
committerKarol Wojtaszek <sekretarz@gentoo.org>2004-11-07 12:08:52 +0000
commit96732959b4cd1ab10a75e43dec9ecefe3e6be0d4 (patch)
tree56a6bca0ee45fe721360c1101f707ca007f2cda6 /media-gfx/autotrace/files
parentInitial import. Ebuild submitted by jochen <jochen.eisinger@gmx.de>; bug #690... (diff)
downloadgentoo-2-96732959b4cd1ab10a75e43dec9ecefe3e6be0d4.tar.gz
gentoo-2-96732959b4cd1ab10a75e43dec9ecefe3e6be0d4.tar.bz2
gentoo-2-96732959b4cd1ab10a75e43dec9ecefe3e6be0d4.zip
Now autotrace can be compiled with imagemagick-6* support, bug #69969
Diffstat (limited to 'media-gfx/autotrace/files')
-rw-r--r--media-gfx/autotrace/files/autotrace-imagemagick.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/media-gfx/autotrace/files/autotrace-imagemagick.patch b/media-gfx/autotrace/files/autotrace-imagemagick.patch
new file mode 100644
index 000000000000..bd33f2644f33
--- /dev/null
+++ b/media-gfx/autotrace/files/autotrace-imagemagick.patch
@@ -0,0 +1,17 @@
+diff -Naur autotrace-0.31.1.orig/configure.in autotrace-0.31.1/configure.in
+--- autotrace-0.31.1.orig/configure.in 2002-11-08 18:49:23.000000000 +0100
++++ autotrace-0.31.1/configure.in 2004-11-07 12:59:31.750331496 +0100
+@@ -79,11 +79,11 @@
+ | sed -e 's/^[0-9]*.[0-9]*.\([0-9]*\)$/\1/'`
+ changequote([,])dnl
+ MAGICK_MAJOR_VERSION_CHECK=`expr $MAGICK_MAJOR_VERSION \>= 5`
+- MAGICK_MINOR_VERSION_CHECK=`expr $MAGICK_MINOR_VERSION \>= 2`
++ MAGICK_MINOR_VERSION_CHECK=`expr $MAGICK_MINOR_VERSION \<= 2`
+ dnl I don't consider ImageMagick 6.x.
+ if test "$MAGICK_VERSION" = "5.2.0" \
+ || test "$MAGICK_MAJOR_VERSION_CHECK" = 0 \
+- || test "$MAGICK_MINOR_VERSION_CHECK" = 0 ; then
++ && test "$MAGICK_MINOR_VERSION_CHECK" = 0 ; then
+ AC_MSG_RESULT(no($MAGICK_VERSION))
+ AC_MSG_WARN([*** Version 5.2.1 or higher is required. ***])
+ AC_MSG_WARN([*** ImageMagick input handler is disabled. ***])