updated on Tue Jan 24 08:00:27 UTC 2012
[aur-mirror.git] / drscheme360 / libpng-1.4.patch
blobd253613186bb652df0e4b854ef07d1bcbd89c983
1 diff -Naur plt-4.2.3-orig/src/wxcommon/wxJPEG.cxx plt-4.2.3/src/wxcommon/wxJPEG.cxx
2 --- plt-4.2.3-orig/src/wxcommon/wxJPEG.cxx 2010-01-18 00:27:47.000000000 -0500
3 +++ plt-4.2.3/src/wxcommon/wxJPEG.cxx 2010-01-18 00:33:49.000000000 -0500
4 @@ -726,7 +726,12 @@
5 png_set_strip_16(png_ptr);
7 /* Expand grayscale images to the full 8 bits from 1, 2, or 4 bits/pixel */
8 +#if PNG_LIBPNG_VER < 10400
9 png_set_gray_1_2_4_to_8(png_ptr);
10 +#else
11 + png_set_expand_gray_1_2_4_to_8(png_ptr);
12 +#endif
16 /* Set the background color to draw transparent and alpha images over.