From b618c3d0693aec564c6746238fd05d94e31d3b76 Mon Sep 17 00:00:00 2001 From: Parabola Date: Tue, 3 Apr 2012 14:54:55 +0000 Subject: Tue Apr 3 14:54:45 UTC 2012 --- community/jbig2dec/jbig2dec-0.11-libpng15.patch | 31 ------------------------- 1 file changed, 31 deletions(-) delete mode 100644 community/jbig2dec/jbig2dec-0.11-libpng15.patch (limited to 'community/jbig2dec/jbig2dec-0.11-libpng15.patch') diff --git a/community/jbig2dec/jbig2dec-0.11-libpng15.patch b/community/jbig2dec/jbig2dec-0.11-libpng15.patch deleted file mode 100644 index c18ccb7af..000000000 --- a/community/jbig2dec/jbig2dec-0.11-libpng15.patch +++ /dev/null @@ -1,31 +0,0 @@ ---- configure.ac -+++ configure.ac -@@ -45,7 +45,7 @@ - fi - dnl libpng requires pow() which may be in libm - AC_SEARCH_LIBS([pow], [m]) -- AC_CHECK_LIB([png], [png_check_sig], [ -+ AC_CHECK_LIB([png], [png_sig_cmp], [ - AC_CHECK_LIB([z], [deflate], [ - AC_DEFINE(HAVE_LIBPNG, 1, [Define if libpng is available (-lpng)]) - LIBS="-lpng -lz $LIBS" ---- jbig2_image_png.c -+++ jbig2_image_png.c -@@ -33,7 +33,7 @@ - { - png_size_t check; - -- check = fwrite(data, 1, length, (png_FILE_p)png_ptr->io_ptr); -+ check = fwrite(data, 1, length, (png_FILE_p)png_get_io_ptr(png_ptr)); - if (check != length) { - png_error(png_ptr, "Write Error"); - } -@@ -43,7 +43,7 @@ - jbig2_png_flush(png_structp png_ptr) - { - png_FILE_p io_ptr; -- io_ptr = (png_FILE_p)CVT_PTR((png_ptr->io_ptr)); -+ io_ptr = (png_FILE_p)png_get_io_ptr(png_ptr); - if (io_ptr != NULL) - fflush(io_ptr); - } -- cgit v1.2.3-54-g00ecf