summaryrefslogtreecommitdiff
path: root/package/firefox/patches/patch-modules_libpr0n_decoders_nsPNGDecoder_cpp
diff options
context:
space:
mode:
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,