gentoo-overlay/dev-scheme/plt-scheme/files/plt-scheme-4.2.2-libpng14.patch

13 lines
396 B
Diff

http://bugs.gentoo.org/319253
--- src/wxcommon/wxJPEG.cxx
+++ src/wxcommon/wxJPEG.cxx
@@ -726,7 +726,7 @@
png_set_strip_16(png_ptr);
/* Expand grayscale images to the full 8 bits from 1, 2, or 4 bits/pixel */
- png_set_gray_1_2_4_to_8(png_ptr);
+ png_set_expand_gray_1_2_4_to_8(png_ptr);
}
/* Set the background color to draw transparent and alpha images over.