summaryrefslogtreecommitdiffstats
path: root/package/imagemagick/imagemagick-6.6.4-8-use-xml2-config.patch
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2012-03-03 22:52:14 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2012-03-03 22:56:23 +0100
commiteb54983fdf8f822e6a1000d5622bf6e13f7c259f (patch)
treef6f58e9ab338f77e3804ce6991fa946cedf66a0a /package/imagemagick/imagemagick-6.6.4-8-use-xml2-config.patch
parentdca6e03eac0ec70bb01492e378c694d8dabcedfd (diff)
downloadbuildroot-novena-eb54983fdf8f822e6a1000d5622bf6e13f7c259f.tar.gz
buildroot-novena-eb54983fdf8f822e6a1000d5622bf6e13f7c259f.zip
imagemagick: bump version, fix build with zlib
The recent zlib bump broke imagemagick. This has been fixed upstream in 6.7.5, but the xml2-config fix is still not upstream and 6.7.5 needs autoconf 2.67 to autoreconf (and we have 2.65), so we cannot easily use that. Instead move to the most recent version using autoconf 2.64 and backport the fix from imagemagick svn. At the same time also ensure zlib+bzip2 support is picked up if enabled. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/imagemagick/imagemagick-6.6.4-8-use-xml2-config.patch')
-rw-r--r--package/imagemagick/imagemagick-6.6.4-8-use-xml2-config.patch31
1 files changed, 0 insertions, 31 deletions
diff --git a/package/imagemagick/imagemagick-6.6.4-8-use-xml2-config.patch b/package/imagemagick/imagemagick-6.6.4-8-use-xml2-config.patch
deleted file mode 100644
index bff4c7364..000000000
--- a/package/imagemagick/imagemagick-6.6.4-8-use-xml2-config.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-Use the detected xml2-config script
-
-The AC_CHECK_PROG() macro allows to find the location of a particular
-program. In ImageMagick, it is used to find the location of
-xml2-config, and fills it into the xml2_config
-variable. Unfortunately, the check just below hardcodes `xml2-config
---prefix`, without using the variable, which defeats the whole purpose
-of having AC_CHECK_PROG().
-
-So, let's use the ${xml2_config} variable instead. This allows to fix
-cross-compilation issues when a non-standard xml2-config location
-needs to be specified.
-
-Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
----
- configure.ac | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-Index: imagemagick-6.6.4-8/configure.ac
-===================================================================
---- imagemagick-6.6.4-8.orig/configure.ac
-+++ imagemagick-6.6.4-8/configure.ac
-@@ -2549,7 +2549,7 @@
- # Debian installs libxml headers under /usr/include/libxml2/libxml with
- # the shared library installed under /usr/lib, whereas the package
- # installs itself under $prefix/libxml and $prefix/lib.
-- xml2_prefix=`xml2-config --prefix`
-+ xml2_prefix=`${xml2_config} --prefix`
- if test -d "${xml2_prefix}/include/libxml2"; then
- CPPFLAGS="$CPPFLAGS -I${xml2_prefix}/include/libxml2"
- fi