summaryrefslogtreecommitdiffstats
path: root/main/ghostscript/libpng14.patch
diff options
context:
space:
mode:
authorCameron Banta <cbanta@gmail.com>2010-03-06 21:35:26 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-03-08 14:30:47 +0000
commit7b767145b591d4d81ce05f3af078278460258dd5 (patch)
treea9b06be3ec0fce44675ff7520a0970b1c50b4109 /main/ghostscript/libpng14.patch
parent2e9f2610e8718044c7718061c65226867e14f179 (diff)
downloadaports-7b767145b591d4d81ce05f3af078278460258dd5.tar.bz2
aports-7b767145b591d4d81ce05f3af078278460258dd5.tar.xz
Update to version 8.71. Create dev package. Split build into separate build and package parts. Force libraries to use system libraries instead of bundled ones.
Diffstat (limited to 'main/ghostscript/libpng14.patch')
-rw-r--r--main/ghostscript/libpng14.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/main/ghostscript/libpng14.patch b/main/ghostscript/libpng14.patch
new file mode 100644
index 00000000..7ee08af9
--- /dev/null
+++ b/main/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"