summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-03-09 13:01:41 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-03-09 13:01:41 +0000
commita9ecdab8e39025ffd4f19488bb759430bce4be7b (patch)
tree5e35549424b2470ec3e6db9f2d19ebb9067a598f /media-libs/vigra
parentQA: Do not use absolute path to icon when in standard dirs (in make_desktop_e... (diff)
downloadgentoo-2-a9ecdab8e39025ffd4f19488bb759430bce4be7b.tar.gz
gentoo-2-a9ecdab8e39025ffd4f19488bb759430bce4be7b.tar.bz2
gentoo-2-a9ecdab8e39025ffd4f19488bb759430bce4be7b.zip
Fix building with libpng14.
(Portage version: 2.2_rc66/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/vigra')
-rw-r--r--media-libs/vigra/ChangeLog7
-rw-r--r--media-libs/vigra/vigra-1.6.0.ebuild7
2 files changed, 10 insertions, 4 deletions
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 <ssuominen@gentoo.org> vigra-1.6.0.ebuild:
+ Fix building with libpng14.
05 Jun 2009; Peter Alfredsen <loki_val@gentoo.org> 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() {