From bd015df1e472968ad28099544740f7b7e514312e Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Thu, 31 Mar 2011 22:27:39 +0200 Subject: add lxde components, update libpng and firefox --- .../patches/patch-modules_libpr0n_decoders_nsPNGDecoder_cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 package/firefox/patches/patch-modules_libpr0n_decoders_nsPNGDecoder_cpp (limited to 'package/firefox/patches/patch-modules_libpr0n_decoders_nsPNGDecoder_cpp') diff --git a/package/firefox/patches/patch-modules_libpr0n_decoders_nsPNGDecoder_cpp b/package/firefox/patches/patch-modules_libpr0n_decoders_nsPNGDecoder_cpp new file mode 100644 index 000000000..9534c92bd --- /dev/null +++ b/package/firefox/patches/patch-modules_libpr0n_decoders_nsPNGDecoder_cpp @@ -0,0 +1,12 @@ +--- mozilla-2.0.orig/modules/libpr0n/decoders/nsPNGDecoder.cpp 2011-03-19 00:34:02.000000000 +0100 ++++ mozilla-2.0/modules/libpr0n/decoders/nsPNGDecoder.cpp 2011-03-27 22:30:41.783370593 +0200 +@@ -386,7 +386,8 @@ PNGGetColorProfile(png_structp png_ptr, + // First try to see if iCCP chunk is present + if (png_get_valid(png_ptr, info_ptr, PNG_INFO_iCCP)) { + png_uint_32 profileLen; +- char *profileData, *profileName; ++ png_byte *profileData; ++ char *profileName; + int compression; + + png_get_iCCP(png_ptr, info_ptr, &profileName, &compression, -- cgit v1.2.3