summaryrefslogtreecommitdiff
path: root/package/firefox/patches/patch-modules_libpr0n_decoders_nsPNGDecoder_cpp
diff options
context:
space:
mode:
authorwbx <wbx@openadk.org>2011-04-08 12:37:48 +0200
committerwbx <wbx@openadk.org>2011-04-08 12:37:48 +0200
commit34fc06736330cc993fd1c936ed9205cdc73aa0fd (patch)
tree42319fe9aa25f82370948335d6dccd571da945d6 /package/firefox/patches/patch-modules_libpr0n_decoders_nsPNGDecoder_cpp
parent6ea415c59b9ced9d08be7348d268ae4543017a56 (diff)
parent297e4004d154572e29ee71f8ed852b022686e852 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
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,