# ChangeLog for app-text/ghostscript
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/app-text/ghostscript/ChangeLog,v 1.17 2002/10/07 17:43:23 raker Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/ghostscript/ChangeLog,v 1.18 2002/10/31 00:50:43 raker Exp $
*ghostscript-7.05.5 (18 Sep 2002)
+ 30 Oct 2002; Nick Hadaway <raker@gentoo.org> ghostscript-7.05.5.ebuild :
+ Added a patch for those having trouble with the detection of libpng.
+ See bugs #6760 and #9651...
+
07 Oct 2002; Nick Hadaway <raker@gentoo.org> ghostscript-7.05.5.ebuild :
Added gnome use variable for gimp-print plugin support. added gnome
to IUSE variables.
--- /dev/null
+diff -urN espgs-7.05.5/configure espgs-7.05.5-modified/configure
+--- espgs-7.05.5/configure 2002-10-30 18:31:33.000000000 -0600
++++ espgs-7.05.5-modified/configure 2002-10-30 18:36:16.000000000 -0600
+@@ -4267,7 +4267,7 @@
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ ac_check_lib_save_LIBS=$LIBS
+-LIBS="-lpng $LIBS"
++LIBS="-lpng -lz $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+ #include "confdefs.h"
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/ghostscript/ghostscript-7.05.5.ebuild,v 1.7 2002/10/20 18:40:56 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/ghostscript/ghostscript-7.05.5.ebuild,v 1.8 2002/10/31 00:50:43 raker Exp $
IUSE="X cups gnome"
sed 's#^\(DEVICE_DEVS6=.*\)$#\1 $(DD)hl1240.dev $(DD)hl1250.dev#' \
< ${S}/src/Makefile.in.orig > ${S}/src/Makefile.in || die
+ patch -p0 < ${FILESDIR}/png.diff || die "patch failed"
+
}
src_compile() {