diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2011-03-31 22:27:39 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2011-03-31 22:27:39 +0200 |
commit | bd015df1e472968ad28099544740f7b7e514312e (patch) | |
tree | b535754145b5dfac8d9267a098795f7f2a2c276c /package/firefox/patches/patch-modules_libpr0n_decoders_nsPNGDecoder_cpp | |
parent | f4e50548b0d41f5b4e6faae3ddc7283dd1a5dd6c (diff) |
add lxde components, update libpng and firefox
Diffstat (limited to 'package/firefox/patches/patch-modules_libpr0n_decoders_nsPNGDecoder_cpp')
-rw-r--r-- | package/firefox/patches/patch-modules_libpr0n_decoders_nsPNGDecoder_cpp | 12 |
1 files changed, 12 insertions, 0 deletions
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, |