summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2012-01-10 18:53:49 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2012-01-10 18:53:49 +0000
commita5c86ae86849c8edec3f1e931e57ce81f415034a (patch)
tree1a22ddd215c2d7377c1a0914890cbbcf238e4d33 /media-libs/tiff/files
parent[bump] dev-perl/Data-ICal-0.180.0 (diff)
downloadgentoo-2-a5c86ae86849c8edec3f1e931e57ce81f415034a.tar.gz
gentoo-2-a5c86ae86849c8edec3f1e931e57ce81f415034a.tar.bz2
gentoo-2-a5c86ae86849c8edec3f1e931e57ce81f415034a.zip
Insert -llzma to the Libs.private: -line in the libtiff-4.pc for static linking wrt #396531 by Alan Hourihane
(Portage version: 2.2.0_alpha84/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/tiff/files')
-rw-r--r--media-libs/tiff/files/tiff-4.0.0-missing_lzma_pkgconfig.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/media-libs/tiff/files/tiff-4.0.0-missing_lzma_pkgconfig.patch b/media-libs/tiff/files/tiff-4.0.0-missing_lzma_pkgconfig.patch
new file mode 100644
index 000000000000..73ef6731c583
--- /dev/null
+++ b/media-libs/tiff/files/tiff-4.0.0-missing_lzma_pkgconfig.patch
@@ -0,0 +1,22 @@
+http://bugzilla.maptools.org/show_bug.cgi?id=2345
+
+--- configure
++++ configure
+@@ -18016,6 +18016,7 @@
+ $as_echo "#define LZMA_SUPPORT 1" >>confdefs.h
+
+ LIBS="-llzma $LIBS"
++ tiff_libs_private="-llzma ${tiff_libs_private}"
+
+ if test "$HAVE_RPATH" = "yes" -a "x$with_lzma_lib_dir" != "x" ; then
+ LIBDIR="-R $with_lzma_lib_dir $LIBDIR"
+--- configure.ac
++++ configure.ac
+@@ -720,6 +720,7 @@
+ if test "$HAVE_LZMA" = "yes" ; then
+ AC_DEFINE(LZMA_SUPPORT,1,[Support LZMA2 compression])
+ LIBS="-llzma $LIBS"
++ tiff_libs_private="-llzma ${tiff_libs_private}"
+
+ if test "$HAVE_RPATH" = "yes" -a "x$with_lzma_lib_dir" != "x" ; then
+ LIBDIR="-R $with_lzma_lib_dir $LIBDIR"