summaryrefslogtreecommitdiff
path: root/graphics/ImageMagick/files
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/ImageMagick/files')
-rw-r--r--graphics/ImageMagick/files/patch-Makefile.in39
-rw-r--r--graphics/ImageMagick/files/patch-configure28
-rw-r--r--graphics/ImageMagick/files/patch-leak12
-rw-r--r--graphics/ImageMagick/files/patch-test-filter21
-rw-r--r--graphics/ImageMagick/files/patch-wand-Wand-config.in11
5 files changed, 33 insertions, 78 deletions
diff --git a/graphics/ImageMagick/files/patch-Makefile.in b/graphics/ImageMagick/files/patch-Makefile.in
deleted file mode 100644
index 31fe03d40374..000000000000
--- a/graphics/ImageMagick/files/patch-Makefile.in
+++ /dev/null
@@ -1,39 +0,0 @@
---- Makefile.in.orig Fri Jan 19 15:41:15 2007
-+++ Makefile.in Tue Jan 23 21:42:30 2007
-@@ -8494,11 +8494,11 @@
- @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(magick_libMagick_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o magick/magick_libMagick_la-threshold.lo `test -f 'magick/threshold.c' || echo '$(srcdir)/'`magick/threshold.c
-
- magick/magick_libMagick_la-type.lo: magick/type.c
--@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(magick_libMagick_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT magick/magick_libMagick_la-type.lo -MD -MP -MF magick/$(DEPDIR)/magick_libMagick_la-type.Tpo -c -o magick/magick_libMagick_la-type.lo `test -f 'magick/type.c' || echo '$(srcdir)/'`magick/type.c
-+@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(FONTCONFIG_CFLAGS) $(magick_libMagick_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT magick/magick_libMagick_la-type.lo -MD -MP -MF magick/$(DEPDIR)/magick_libMagick_la-type.Tpo -c -o magick/magick_libMagick_la-type.lo `test -f 'magick/type.c' || echo '$(srcdir)/'`magick/type.c
- @am__fastdepCC_TRUE@ mv -f magick/$(DEPDIR)/magick_libMagick_la-type.Tpo magick/$(DEPDIR)/magick_libMagick_la-type.Plo
- @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='magick/type.c' object='magick/magick_libMagick_la-type.lo' libtool=yes @AMDEPBACKSLASH@
- @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
--@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(magick_libMagick_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o magick/magick_libMagick_la-type.lo `test -f 'magick/type.c' || echo '$(srcdir)/'`magick/type.c
-+@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(FONTCONFIG_CFLAGS) $(magick_libMagick_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o magick/magick_libMagick_la-type.lo `test -f 'magick/type.c' || echo '$(srcdir)/'`magick/type.c
-
- magick/magick_libMagick_la-utility.lo: magick/utility.c
- @am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(magick_libMagick_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT magick/magick_libMagick_la-utility.lo -MD -MP -MF magick/$(DEPDIR)/magick_libMagick_la-utility.Tpo -c -o magick/magick_libMagick_la-utility.lo `test -f 'magick/utility.c' || echo '$(srcdir)/'`magick/utility.c
-@@ -9019,11 +9019,11 @@
- @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(magick_libMagick_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o coders/magick_libMagick_la-sun.lo `test -f 'coders/sun.c' || echo '$(srcdir)/'`coders/sun.c
-
- coders/magick_libMagick_la-svg.lo: coders/svg.c
--@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(magick_libMagick_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT coders/magick_libMagick_la-svg.lo -MD -MP -MF coders/$(DEPDIR)/magick_libMagick_la-svg.Tpo -c -o coders/magick_libMagick_la-svg.lo `test -f 'coders/svg.c' || echo '$(srcdir)/'`coders/svg.c
-+@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(magick_libMagick_la_CPPFLAGS) $(coders_svg_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT coders/magick_libMagick_la-svg.lo -MD -MP -MF coders/$(DEPDIR)/magick_libMagick_la-svg.Tpo -c -o coders/magick_libMagick_la-svg.lo `test -f 'coders/svg.c' || echo '$(srcdir)/'`coders/svg.c
- @am__fastdepCC_TRUE@ mv -f coders/$(DEPDIR)/magick_libMagick_la-svg.Tpo coders/$(DEPDIR)/magick_libMagick_la-svg.Plo
- @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='coders/svg.c' object='coders/magick_libMagick_la-svg.lo' libtool=yes @AMDEPBACKSLASH@
- @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
--@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(magick_libMagick_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o coders/magick_libMagick_la-svg.lo `test -f 'coders/svg.c' || echo '$(srcdir)/'`coders/svg.c
-+@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(magick_libMagick_la_CPPFLAGS) $(coders_svg_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o coders/magick_libMagick_la-svg.lo `test -f 'coders/svg.c' || echo '$(srcdir)/'`coders/svg.c
-
- coders/magick_libMagick_la-tga.lo: coders/tga.c
- @am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(magick_libMagick_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT coders/magick_libMagick_la-tga.lo -MD -MP -MF coders/$(DEPDIR)/magick_libMagick_la-tga.Tpo -c -o coders/magick_libMagick_la-tga.lo `test -f 'coders/tga.c' || echo '$(srcdir)/'`coders/tga.c
-@@ -10112,7 +10112,7 @@
- @WITH_PERL_DYNAMIC_TRUE@@WITH_PERL_TRUE@ cd $(PERLMAGICK) && @PERL@ Makefile.PL $(PERL_MAKE_OPTIONS)
-
- @WITH_PERL_DYNAMIC_TRUE@@WITH_PERL_TRUE@install-exec-perl: $(PERLMAKEFILE)
--@WITH_PERL_DYNAMIC_TRUE@@WITH_PERL_TRUE@ cd $(PERLMAGICK) && $(MAKE) CC='@CC@' install
-+@WITH_PERL_DYNAMIC_TRUE@@WITH_PERL_TRUE@ cd $(PERLMAGICK) && $(MAKE) CC='@CC@' pure_install
-
- @WITH_PERL_DYNAMIC_TRUE@@WITH_PERL_TRUE@all-perl: $(PERLMAKEFILE)
- @WITH_PERL_DYNAMIC_TRUE@@WITH_PERL_TRUE@ cd $(PERLMAGICK) && $(MAKE) CC='@CC@'
diff --git a/graphics/ImageMagick/files/patch-configure b/graphics/ImageMagick/files/patch-configure
index 956dba820e54..c9cb62fddb26 100644
--- a/graphics/ImageMagick/files/patch-configure
+++ b/graphics/ImageMagick/files/patch-configure
@@ -1,4 +1,3 @@
---- configure.orig Tue Apr 3 21:30:12 2007
+++ configure Tue Apr 3 21:31:01 2007
@@ -18904,6 +18904,7 @@
@@ -8,30 +7,3 @@
# Always use our own libtool.
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
-@@ -34622,7 +34623,7 @@
- #define HasFONTCONFIG 1
- _ACEOF
-
-- if test "$with_modules" == 'no' ; then
-+ if test "$with_modules" = 'no' ; then
- CPPFLAGS="$FONTCONFIG_CFLAGS $CPPFLAGS"
- fi
- fi
-@@ -36794,7 +36795,7 @@
- #define HasGVC 1
- _ACEOF
-
-- if test "$with_modules" == 'no' ; then
-+ if test "$with_modules" = 'no' ; then
- CPPFLAGS="$GVC_CFLAGS $CPPFLAGS"
- fi
- fi
-@@ -37337,7 +37338,7 @@
- #define HasRSVG 1
- _ACEOF
-
-- if test "$with_modules" == 'no' ; then
-+ if test "$with_modules" = 'no' ; then
- CPPFLAGS="$RSVG_CFLAGS $CPPFLAGS"
- fi
- fi
diff --git a/graphics/ImageMagick/files/patch-leak b/graphics/ImageMagick/files/patch-leak
new file mode 100644
index 000000000000..7685cae33c4b
--- /dev/null
+++ b/graphics/ImageMagick/files/patch-leak
@@ -0,0 +1,12 @@
+This should be fixed in 6.3.6-0
+
+http://www.imagemagick.org/discourse-server/viewtopic.php?f=4&t=9767
+
+--- magick/string.c 2007-09-09 21:20:56.000000000 -0400
++++ magick/string.c 2007-09-25 14:51:17.000000000 -0400
+@@ -219,5 +219,4 @@
+ return(*destination);
+ }
+- *destination=(char *) NULL;
+ length=strlen(source);
+ if (~length < MaxTextExtent)
diff --git a/graphics/ImageMagick/files/patch-test-filter b/graphics/ImageMagick/files/patch-test-filter
new file mode 100644
index 000000000000..1027885671ef
--- /dev/null
+++ b/graphics/ImageMagick/files/patch-test-filter
@@ -0,0 +1,21 @@
+Reduce sensitivity of the maximum errors. ImageMagick insists, these can
+vary between platforms:
+
+http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=9766
+
+--- PerlMagick/t/filter.t 2007-09-21 10:42:06.000000000 -0400
++++ PerlMagick/t/filter.t 2007-09-25 14:55:22.000000000 -0400
+@@ -101,5 +101,5 @@
+ ++$test;
+
+-testFilterCompare('input.miff', q//, 'reference/filter/GaussianBlur.miff', 'GaussianBlur', q/'0.0x1.5'/, 0.02, 0.02);
++testFilterCompare('input.miff', q//, 'reference/filter/GaussianBlur.miff', 'GaussianBlur', q/'0.0x1.5'/, 0.02, 0.2);
+ ++$test;
+
+@@ -122,5 +122,5 @@
+ ++$test;
+
+-testFilterCompare('input.miff', q//, 'reference/filter/Modulate.miff', 'Modulate', q/brightness=>110,saturation=>110,hue=>110/, 0.05, 0.05);
++testFilterCompare('input.miff', q//, 'reference/filter/Modulate.miff', 'Modulate', q/brightness=>110,saturation=>110,hue=>110/, 0.05, 0.4);
+ ++$test;
+
diff --git a/graphics/ImageMagick/files/patch-wand-Wand-config.in b/graphics/ImageMagick/files/patch-wand-Wand-config.in
deleted file mode 100644
index c8b65f62408a..000000000000
--- a/graphics/ImageMagick/files/patch-wand-Wand-config.in
+++ /dev/null
@@ -1,11 +0,0 @@
---- wand/Wand-config.in.orig Tue Apr 3 22:32:19 2007
-+++ wand/Wand-config.in Tue Apr 3 22:31:54 2007
-@@ -21,7 +21,7 @@
- pkg-config --variable exec_prefix Wand
- ;;
- --version)
-- pkg-config --modversion Wan
-+ pkg-config --modversion Wand
- ;;
- --cflags)
- pkg-config --cflags Wand