summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/ghostscript/libpng14.patch
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2010-09-21 04:29:10 (GMT)
committerJames Meyer <james.meyer@operamail.com>2010-09-21 04:29:10 (GMT)
commitfec8d429653459ada403c4eb7146162ac5e633ca (patch)
treee61257679f633cca11e6168c772c35a782c4484a /abs/core-testing/ghostscript/libpng14.patch
parent9d24611da3eb9bacef7b173ab61e03fb0e736c7a (diff)
downloadlinhes_pkgbuild-fec8d429653459ada403c4eb7146162ac5e633ca.zip
linhes_pkgbuild-fec8d429653459ada403c4eb7146162ac5e633ca.tar.gz
linhes_pkgbuild-fec8d429653459ada403c4eb7146162ac5e633ca.tar.bz2
ghostscript: arch sync
Diffstat (limited to 'abs/core-testing/ghostscript/libpng14.patch')
-rw-r--r--abs/core-testing/ghostscript/libpng14.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/abs/core-testing/ghostscript/libpng14.patch b/abs/core-testing/ghostscript/libpng14.patch
new file mode 100644
index 0000000..7ee08af
--- /dev/null
+++ b/abs/core-testing/ghostscript/libpng14.patch
@@ -0,0 +1,24 @@
+diff -Nur ghostscript-8.70.orig/base/configure.ac ghostscript-8.70/base/configure.ac
+--- ghostscript-8.70.orig/base/configure.ac 2009-07-27 19:59:50.000000000 +0300
++++ ghostscript-8.70/base/configure.ac 2010-01-17 02:20:52.000000000 +0200
+@@ -402,7 +402,7 @@
+ PNGDEVS="$PNGDEVS_ALL"
+ else
+ AC_MSG_RESULT([no])
+- AC_CHECK_LIB(png, png_check_sig, [
++ AC_CHECK_LIB(png, png_sig_cmp, [
+ AC_CHECK_HEADERS(png.h, [
+ SHARE_LIBPNG=1
+ PNGDEVS="$PNGDEVS_ALL"
+diff -Nur ghostscript-8.70.orig/jbig2dec/configure.ac ghostscript-8.70/jbig2dec/configure.ac
+--- ghostscript-8.70.orig/jbig2dec/configure.ac 2009-05-29 09:48:44.000000000 +0300
++++ ghostscript-8.70/jbig2dec/configure.ac 2010-01-17 02:21:25.000000000 +0200
+@@ -34,7 +34,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"