diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2010-03-11 01:00:57 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2010-03-11 01:00:57 +0000 |
commit | dd6c3d5e3ef004a76dc786fbe221649bcf23a499 (patch) | |
tree | 43cbaa4baf621308651e5fbec5bca440eaa34ebd /x11-terms/mrxvt/files | |
parent | Version bump 1.9.49, remove old versions (diff) | |
download | historical-dd6c3d5e3ef004a76dc786fbe221649bcf23a499.tar.gz historical-dd6c3d5e3ef004a76dc786fbe221649bcf23a499.tar.bz2 historical-dd6c3d5e3ef004a76dc786fbe221649bcf23a499.zip |
Fix (detection and) building with libpng14.
Package-Manager: portage-2.2_rc66/cvs/Linux x86_64
Diffstat (limited to 'x11-terms/mrxvt/files')
-rw-r--r-- | x11-terms/mrxvt/files/mrxvt-0.5.4-libpng14.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/x11-terms/mrxvt/files/mrxvt-0.5.4-libpng14.patch b/x11-terms/mrxvt/files/mrxvt-0.5.4-libpng14.patch new file mode 100644 index 000000000000..a475b70685dc --- /dev/null +++ b/x11-terms/mrxvt/files/mrxvt-0.5.4-libpng14.patch @@ -0,0 +1,33 @@ +http://repos.archlinux.org/wsvn/packages/mrxvt/trunk/libpng14.patch + +--- configure.ac ++++ configure.ac +@@ -952,7 +952,7 @@ + if test "x$support_png" = "xyes"; then + AC_CHECK_LIB( + png, +- png_check_sig, ++ png_sig_cmp, + [], + [support_png=no], + [-lz -lm] +--- src/mpng.c ++++ src/mpng.c +@@ -83,7 +83,7 @@ + display_depth = XDefaultDepth(display,XDefaultScreen(display)); + + fread(sig, 1, 8, ifile); +- if (!png_check_sig(sig, 8)){ ++ if (png_sig_cmp(sig, 0, 8)){ + fclose(ifile); + return -1; + } +@@ -113,7 +113,7 @@ + + if (png_depth < 8){ + if (png_color_type == PNG_COLOR_TYPE_GRAY ){ +- png_set_gray_1_2_4_to_8(png_ptr); ++ png_set_expand_gray_1_2_4_to_8(png_ptr); + png_row_bytes = png_width; + }else{ + png_set_expand(png_ptr); |