summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2017-03-11 19:09:10 +0100
committerAndreas K. Hüttel <dilfridge@gentoo.org>2017-03-11 19:09:10 +0100
commit3aefdabb17edf619e9584d46f3901aae8cb145d7 (patch)
tree0a76d255514d565e3c59b873b2cecd74eadf4e12 /media-libs/jbig2dec/files
parentmedia-libs/lcms: Remove old (diff)
downloadgentoo-3aefdabb17edf619e9584d46f3901aae8cb145d7.tar.gz
gentoo-3aefdabb17edf619e9584d46f3901aae8cb145d7.tar.bz2
gentoo-3aefdabb17edf619e9584d46f3901aae8cb145d7.zip
media-libs/jbig2dec: Remove old
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'media-libs/jbig2dec/files')
-rw-r--r--media-libs/jbig2dec/files/jbig2dec-0.11-libpng15.patch31
1 files changed, 0 insertions, 31 deletions
diff --git a/media-libs/jbig2dec/files/jbig2dec-0.11-libpng15.patch b/media-libs/jbig2dec/files/jbig2dec-0.11-libpng15.patch
deleted file mode 100644
index c18ccb7af60..00000000000
--- a/media-libs/jbig2dec/files/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);
- }