plymouth/plymouth-0.8.3-libpng-1.4.patch

13 lines
607 B
Diff

diff -Nru plymouth-0.8.3.orig//src/libply-splash-graphics/ply-image.c plymouth-0.8.3/src/libply-splash-graphics/ply-image.c
--- plymouth-0.8.3.orig//src/libply-splash-graphics/ply-image.c 2010-04-29 18:46:53.000000000 +0200
+++ plymouth-0.8.3/src/libply-splash-graphics/ply-image.c 2010-09-05 21:44:15.292662219 +0200
@@ -151,7 +151,7 @@
png_set_palette_to_rgb (png);
if ((color_type == PNG_COLOR_TYPE_GRAY) && (bits_per_pixel < 8))
- png_set_gray_1_2_4_to_8 (png);
+ png_set_expand_gray_1_2_4_to_8 (png);
if (png_get_valid (png, info, PNG_INFO_tRNS))
png_set_tRNS_to_alpha (png);