[66405] trunk/dports/print/ghostscript
takanori at macports.org
takanori at macports.org
Sun Apr 11 11:25:00 PDT 2010
Revision: 66405
http://trac.macports.org/changeset/66405
Author: takanori at macports.org
Date: 2010-04-11 11:24:55 -0700 (Sun, 11 Apr 2010)
Log Message:
-----------
ghostscript:
- prepare for libpng 1.4.x (#24434)
see also: http://www.libpng.org/pub/png/src/libpng-1.2.x-to-1.4.x-summary.txt
Modified Paths:
--------------
trunk/dports/print/ghostscript/Portfile
Added Paths:
-----------
trunk/dports/print/ghostscript/files/libpng14-compat.diff
Modified: trunk/dports/print/ghostscript/Portfile
===================================================================
--- trunk/dports/print/ghostscript/Portfile 2010-04-11 14:55:12 UTC (rev 66404)
+++ trunk/dports/print/ghostscript/Portfile 2010-04-11 18:24:55 UTC (rev 66405)
@@ -22,7 +22,8 @@
mappingresources4pdf_2unicode-20091208.tar.Z:misc \
mappingresources4pdf_other-20091208.tar.Z:misc
patchfiles patch-base_unix-dll.mak.diff \
- patch-base_stdpre.h.diff
+ patch-base_stdpre.h.diff \
+ libpng14-compat.diff
checksums ${distname}.tar.gz rmd160 efce74cf22cf99b2b1a145df466e79a86e3dfefb \
ghostscript-fonts-other-6.0.tar.gz rmd160 ab60dbf71e7d91283a106c3df381cadfe173082f \
mappingresources4pdf_2unicode-20091208.tar.Z rmd160 bc1b86e6a5f0e022f88070195eb3e01e167114a7 \
@@ -82,6 +83,11 @@
--disable-cups \
--disable-gtk
+pre-configure {
+ # rebuild jbig2dec/configure manually
+ system "cd ${worksrcpath}/jbig2dec && autoreconf ${autoreconf.pre_args} ${autoreconf.args}"
+}
+
build.target so
use_parallel_build no
Added: trunk/dports/print/ghostscript/files/libpng14-compat.diff
===================================================================
--- trunk/dports/print/ghostscript/files/libpng14-compat.diff (rev 0)
+++ trunk/dports/print/ghostscript/files/libpng14-compat.diff 2010-04-11 18:24:55 UTC (rev 66405)
@@ -0,0 +1,24 @@
+diff -Naur ghostscript-8.71.orig/base/configure.ac ghostscript-8.71/base/configure.ac
+--- base/configure.ac 2009-11-24 09:36:27.000000000 +0100
++++ base/configure.ac 2010-03-08 12:35:01.803968064 +0100
+@@ -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 -Naur ghostscript-8.71.orig/jbig2dec/configure.ac ghostscript-8.71/jbig2dec/configure.ac
+--- jbig2dec/configure.ac 2010-02-02 20:30:15.000000000 +0100
++++ jbig2dec/configure.ac 2010-03-08 12:35:01.803968064 +0100
+@@ -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"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100411/5dc75328/attachment.html>
More information about the macports-changes
mailing list