diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2010-03-11 16:32:44 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2010-03-11 16:32:44 +0000 |
commit | b6e089af2108c095f1e18b46d280f58eab269c1c (patch) | |
tree | a379f12076d5d54ac6f82b13f0b8583fe54b58c1 /net-analyzer/driftnet | |
parent | Add back as the stable version of app-admin/puppet depends upon it (diff) | |
download | gentoo-2-b6e089af2108c095f1e18b46d280f58eab269c1c.tar.gz gentoo-2-b6e089af2108c095f1e18b46d280f58eab269c1c.tar.bz2 gentoo-2-b6e089af2108c095f1e18b46d280f58eab269c1c.zip |
Fix building with libpng14.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'net-analyzer/driftnet')
-rw-r--r-- | net-analyzer/driftnet/ChangeLog | 8 | ||||
-rw-r--r-- | net-analyzer/driftnet/driftnet-0.1.6_p20090401.ebuild | 10 |
2 files changed, 14 insertions, 4 deletions
diff --git a/net-analyzer/driftnet/ChangeLog b/net-analyzer/driftnet/ChangeLog index cc6d1750b266..78c6f1b04236 100644 --- a/net-analyzer/driftnet/ChangeLog +++ b/net-analyzer/driftnet/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-analyzer/driftnet -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/driftnet/ChangeLog,v 1.36 2009/07/27 19:31:11 ssuominen Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/driftnet/ChangeLog,v 1.37 2010/03/11 16:32:44 ssuominen Exp $ + + 11 Mar 2010; Samuli Suominen <ssuominen@gentoo.org> + driftnet-0.1.6_p20090401.ebuild: + Fix building with libpng14. 27 Jul 2009; Samuli Suominen <ssuominen@gentoo.org> driftnet-0.1.6-r4.ebuild: diff --git a/net-analyzer/driftnet/driftnet-0.1.6_p20090401.ebuild b/net-analyzer/driftnet/driftnet-0.1.6_p20090401.ebuild index 1cfd450278a4..cd5a6b113243 100644 --- a/net-analyzer/driftnet/driftnet-0.1.6_p20090401.ebuild +++ b/net-analyzer/driftnet/driftnet-0.1.6_p20090401.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/net-analyzer/driftnet/driftnet-0.1.6_p20090401.ebuild,v 1.3 2009/09/06 17:58:32 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/driftnet/driftnet-0.1.6_p20090401.ebuild,v 1.4 2010/03/11 16:32:44 ssuominen Exp $ EAPI=2 inherit eutils flag-o-matic toolchain-funcs @@ -25,6 +25,12 @@ DEPEND="${CDEPEND} RDEPEND="${CDEPEND} mp3? ( media-sound/mpg123 )" +src_prepare() { + sed -i \ + -e 's:png_set_gray_1_2_4_to_8:png_set_expand_gray_1_2_4_to_8:' \ + png.c || die +} + src_compile() { export CC=$(tc-getCC) if use gtk; then |