summaryrefslogtreecommitdiff
path: root/package/firefox/patches/patch-modules_libpr0n_decoders_nsPNGDecoder_cpp
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-04-07 14:17:39 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-04-07 14:17:39 +0200
commit2dd6d1fc82c0563c0b3af90ad4926fa6463c204f (patch)
treecea2d78836b0958b0402b42976c4c84ec6e700a8 /package/firefox/patches/patch-modules_libpr0n_decoders_nsPNGDecoder_cpp
parentc82f34b5a8e2851c2074c1e03263f788eb2c28be (diff)
parent3cda7c5f211225fea03a3634daeef9cafd627aa2 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Conflicts: package/firefox/Makefile package/jpeg/patches/patch-ltmain_sh
Diffstat (limited to 'package/firefox/patches/patch-modules_libpr0n_decoders_nsPNGDecoder_cpp')
-rw-r--r--package/firefox/patches/patch-modules_libpr0n_decoders_nsPNGDecoder_cpp12
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,