1 diff -Nur mrxvt-0.5.4.old/configure.ac mrxvt-0.5.4/configure.ac
2 --- mrxvt-0.5.4.old/configure.ac 2008-05-12 20:21:56.000000000 +0300
3 +++ mrxvt-0.5.4/configure.ac 2010-01-30 16:51:04.000000000 +0200
5 if test "x$support_png" = "xyes"; then
13 diff -Nur mrxvt-0.5.4.old/src/mpng.c mrxvt-0.5.4/src/mpng.c
14 --- mrxvt-0.5.4.old/src/mpng.c 2008-02-18 00:04:50.000000000 +0200
15 +++ mrxvt-0.5.4/src/mpng.c 2010-01-30 16:55:28.000000000 +0200
17 display_depth = XDefaultDepth(display,XDefaultScreen(display));
19 fread(sig, 1, 8, ifile);
20 - if (!png_check_sig(sig, 8)){
21 + if (png_sig_cmp(sig, 0, 8)){
28 if (png_color_type == PNG_COLOR_TYPE_GRAY ){
29 - png_set_gray_1_2_4_to_8(png_ptr);
30 + png_set_expand_gray_1_2_4_to_8(png_ptr);
31 png_row_bytes = png_width;
33 png_set_expand(png_ptr);