summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2011-09-17 13:28:31 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2011-09-17 13:28:31 +0000
commit3ec3a450ea853a61b83e6225ec50c98ff2681224 (patch)
treee0c1838fa660c48f17b553ee5f237f1a91549353 /app-emulation/fuse/files
parentFix building with libpng15 wrt #383201 by Diego Elio Pettenò. USE="static-li... (diff)
downloadgentoo-2-3ec3a450ea853a61b83e6225ec50c98ff2681224.tar.gz
gentoo-2-3ec3a450ea853a61b83e6225ec50c98ff2681224.tar.bz2
gentoo-2-3ec3a450ea853a61b83e6225ec50c98ff2681224.zip
Fix building with libpng15 (missing zlib.h include) wrt #383223 by Diego Elio Pettenò
(Portage version: 2.2.0_alpha55/cvs/Linux x86_64)
Diffstat (limited to 'app-emulation/fuse/files')
-rw-r--r--app-emulation/fuse/files/fuse-1.0.0-libpng15.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/app-emulation/fuse/files/fuse-1.0.0-libpng15.patch b/app-emulation/fuse/files/fuse-1.0.0-libpng15.patch
new file mode 100644
index 000000000000..3da2d672c47b
--- /dev/null
+++ b/app-emulation/fuse/files/fuse-1.0.0-libpng15.patch
@@ -0,0 +1,10 @@
+--- screenshot.c
++++ screenshot.c
+@@ -48,6 +48,7 @@
+
+ #ifdef USE_LIBPNG
+
++#include <zlib.h>
+ #include <png.h>
+
+ static int get_rgb32_data( libspectrum_byte *rgb32_data, size_t stride,