summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2011-09-14 13:34:50 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2011-09-14 13:34:50 +0000
commit9a4cee11bd9353103f0e6335a46a4e07ac0fac98 (patch)
tree1f150af1974b1d516518beb7d6392192201c13d5 /media-gfx/flphoto/files
parentRevbump: Add patch for crash on shutdown. Fixes #382913. (diff)
downloadgentoo-2-9a4cee11bd9353103f0e6335a46a4e07ac0fac98.tar.gz
gentoo-2-9a4cee11bd9353103f0e6335a46a4e07ac0fac98.tar.bz2
gentoo-2-9a4cee11bd9353103f0e6335a46a4e07ac0fac98.zip
Fix building with libpng15 (missing zlib.h include) wrt #378389 by Diego Elio Pettenò
(Portage version: 2.2.0_alpha55/cvs/Linux x86_64)
Diffstat (limited to 'media-gfx/flphoto/files')
-rw-r--r--media-gfx/flphoto/files/flphoto-1.3.1-libpng15.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/media-gfx/flphoto/files/flphoto-1.3.1-libpng15.patch b/media-gfx/flphoto/files/flphoto-1.3.1-libpng15.patch
new file mode 100644
index 000000000000..c523a4536380
--- /dev/null
+++ b/media-gfx/flphoto/files/flphoto-1.3.1-libpng15.patch
@@ -0,0 +1,12 @@
+Missing include for Z_BEST_COMPRESSION
+
+--- image.cxx
++++ image.cxx
+@@ -91,6 +91,7 @@
+ #endif // HAVE_LIBJPEG
+
+ #ifdef HAVE_LIBPNG
++# include <zlib.h>
+ # include <png.h>
+ #endif // HAVE_LIBPNG
+