updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / sunbird-branded / libpng14.patch
blobbdf8c04b9eb992ab236c7ba00b2b99ba74ddc153
1 diff -Naur mozilla-old/modules/libpr0n/encoders/png/nsPNGEncoder.cpp mozilla/modules/libpr0n/encoders/png/nsPNGEncoder.cpp
2 --- mozilla-old/modules/libpr0n/encoders/png/nsPNGEncoder.cpp 2006-05-21 03:20:49.000000000 +1000
3 +++ mozilla/modules/libpr0n/encoders/png/nsPNGEncoder.cpp 2010-01-26 15:43:45.000000000 +1000
4 @@ -111,9 +111,9 @@
6 // initialize
7 png_struct* png_ptr = png_create_write_struct(PNG_LIBPNG_VER_STRING,
8 - png_voidp_NULL,
9 - png_error_ptr_NULL,
10 - png_error_ptr_NULL);
11 + NULL,
12 + NULL,
13 + NULL);
14 if (! png_ptr)
15 return NS_ERROR_OUT_OF_MEMORY;
16 png_info* info_ptr = png_create_info_struct(png_ptr);