From a9ecdab8e39025ffd4f19488bb759430bce4be7b Mon Sep 17 00:00:00 2001 From: Samuli Suominen Date: Tue, 9 Mar 2010 13:01:41 +0000 Subject: Fix building with libpng14. (Portage version: 2.2_rc66/cvs/Linux x86_64) --- media-libs/vigra/ChangeLog | 7 +++++-- media-libs/vigra/vigra-1.6.0.ebuild | 7 +++++-- 2 files changed, 10 insertions(+), 4 deletions(-) (limited to 'media-libs/vigra') diff --git a/media-libs/vigra/ChangeLog b/media-libs/vigra/ChangeLog index 678d1fe0dbb9..44652dbd0829 100644 --- a/media-libs/vigra/ChangeLog +++ b/media-libs/vigra/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for media-libs/vigra -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/vigra/ChangeLog,v 1.24 2009/06/05 16:11:41 loki_val Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/vigra/ChangeLog,v 1.25 2010/03/09 13:01:41 ssuominen Exp $ + + 09 Mar 2010; Samuli Suominen vigra-1.6.0.ebuild: + Fix building with libpng14. 05 Jun 2009; Peter Alfredsen metadata.xml: Retiring, bug 220219. Adding printing and openoffice herds since diff --git a/media-libs/vigra/vigra-1.6.0.ebuild b/media-libs/vigra/vigra-1.6.0.ebuild index 59d20db20b70..bcf4ecbb9cca 100644 --- a/media-libs/vigra/vigra-1.6.0.ebuild +++ b/media-libs/vigra/vigra-1.6.0.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/vigra/vigra-1.6.0.ebuild,v 1.7 2009/06/02 16:48:36 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/vigra/vigra-1.6.0.ebuild,v 1.8 2010/03/09 13:01:41 ssuominen Exp $ EAPI=2 @@ -47,6 +47,9 @@ pkg_setup() { src_prepare() { epatch "${FILESDIR}/${P}-gcc44.patch" + sed -i \ + -e 's:png_set_gray_1_2_4_to_8:png_set_expand_gray_1_2_4_to_8:g' \ + src/impex/png.cxx || die } src_configure() { -- cgit v1.2.3-65-gdbad