diff options
author | Gilles Dartiguelongue <eva@gentoo.org> | 2017-09-15 08:40:41 +0200 |
---|---|---|
committer | Gilles Dartiguelongue <eva@gentoo.org> | 2017-09-15 08:42:48 +0200 |
commit | 17cd70a3a834bbaca8d7618eeb901f0c6f870578 (patch) | |
tree | 04791261009c96e17a334b5eac6ae594c4357301 /x11-libs/gdk-pixbuf/files | |
parent | dev-cpp/gtkmm: version bump 3.22.1 → 3.22.2 (diff) | |
download | gentoo-17cd70a3a834bbaca8d7618eeb901f0c6f870578.tar.gz gentoo-17cd70a3a834bbaca8d7618eeb901f0c6f870578.tar.bz2 gentoo-17cd70a3a834bbaca8d7618eeb901f0c6f870578.zip |
x11-libs/gdk-pixbuf: fix TIFF loading support, bug #629716
Closes: https://bugs.gentoo.org/show_bug.cgi?id=629716
Package-Manager: Portage-2.3.8, Repoman-2.3.3
Diffstat (limited to 'x11-libs/gdk-pixbuf/files')
-rw-r--r-- | x11-libs/gdk-pixbuf/files/2.36.10-fix-tiff-loader.patch | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/x11-libs/gdk-pixbuf/files/2.36.10-fix-tiff-loader.patch b/x11-libs/gdk-pixbuf/files/2.36.10-fix-tiff-loader.patch new file mode 100644 index 000000000000..47e62ef91187 --- /dev/null +++ b/x11-libs/gdk-pixbuf/files/2.36.10-fix-tiff-loader.patch @@ -0,0 +1,66 @@ +From 66537d1ecf7e857a0a443c1ebf72baf6f19dd3e4 Mon Sep 17 00:00:00 2001 +From: Bastien Nocera <hadess@hadess.net> +Date: Mon, 11 Sep 2017 19:11:50 +0200 +Subject: build: Fix TIFF loader compilation with autotools + +https://bugzilla.gnome.org/show_bug.cgi?id=786342 +--- + configure.ac | 7 +++---- + gdk-pixbuf/Makefile.am | 2 +- + 2 files changed, 4 insertions(+), 5 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 0abe5ce..c07bd6f 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -564,7 +564,6 @@ dnl Test for libjasper + *** --without-libjasper to configure]) + fi + +-AC_SUBST(LIBTIFF) + AC_SUBST(LIBJPEG) + AC_SUBST(LIBPNG) + AC_SUBST(LIBJASPER) +@@ -676,7 +675,7 @@ if test x$gio_can_sniff = x; then + AC_DEFINE(GDK_PIXBUF_USE_GIO_MIME, 1, [Define if gio can sniff image data]) + fi + +-AM_CONDITIONAL(HAVE_TIFF, test "x$LIBTIFF" != x) ++AM_CONDITIONAL(HAVE_TIFF, test "x$libtiff_found" != x) + AM_CONDITIONAL(HAVE_PNG, test "x$LIBPNG" != x) + AM_CONDITIONAL(HAVE_JPEG, test "x$LIBJPEG" != x) + AM_CONDITIONAL(HAVE_JASPER, test "x$LIBJASPER" != x) +@@ -684,7 +683,7 @@ AM_CONDITIONAL(HAVE_JASPER, test "x$LIBJASPER" != x) + if $dynworks ; then + STATIC_LIB_DEPS= + if echo "$included_loaders" | egrep '(^|,)tiff($|,)' > /dev/null; then +- STATIC_LIB_DEPS="$STATIC_LIB_DEPS $LIBTIFF" ++ STATIC_LIB_DEPS="$STATIC_LIB_DEPS $TIFF_LIBS" + fi + if echo "$included_loaders" | egrep '(^|,)jpeg($|,)' > /dev/null; then + STATIC_LIB_DEPS="$STATIC_LIB_DEPS $LIBJPEG" +@@ -698,7 +697,7 @@ if $dynworks ; then + STATIC_LIB_DEPS="$STATIC_LIB_DEPS $LIBJASPER" + fi + else +- STATIC_LIB_DEPS="$LIBTIFF $LIBJPEG $LIBPNG $LIBJASPER" ++ STATIC_LIB_DEPS="$TIFF_LIBS $LIBJPEG $LIBPNG $LIBJASPER" + fi + + # Checks to see whether we should include mediaLib +diff --git a/gdk-pixbuf/Makefile.am b/gdk-pixbuf/Makefile.am +index 01b693c..720a058 100644 +--- a/gdk-pixbuf/Makefile.am ++++ b/gdk-pixbuf/Makefile.am +@@ -88,7 +88,7 @@ libpixbufloader_pnm_la_LIBADD = $(module_libs) + libstatic_pixbufloader_tiff_la_SOURCES = io-tiff.c + libpixbufloader_tiff_la_SOURCES = io-tiff.c + libpixbufloader_tiff_la_LDFLAGS = -avoid-version -module $(no_undefined) +-libpixbufloader_tiff_la_LIBADD = $(LIBTIFF) $(module_libs) ++libpixbufloader_tiff_la_LIBADD = $(TIFF_LIBS) $(module_libs) + + # + # The XPM loader +-- +cgit v0.12 + |