diff options
author | 2013-04-30 06:47:27 +0000 | |
---|---|---|
committer | 2013-04-30 06:47:27 +0000 | |
commit | 835370ca3dee4e55accf8e05d4616ff10f075883 (patch) | |
tree | 415bc165b6ed5f8ce538ff58987fd3f9c34523ae /media-gfx/png2ico/png2ico-2002.12.08.ebuild | |
parent | Fix building with automake-1.13 - bug #467788 (diff) | |
download | gentoo-2-835370ca3dee4e55accf8e05d4616ff10f075883.tar.gz gentoo-2-835370ca3dee4e55accf8e05d4616ff10f075883.tar.bz2 gentoo-2-835370ca3dee4e55accf8e05d4616ff10f075883.zip |
Fix building with libpng16 from which we don't get <cstring> within <png.h> anymore wrt #467918 by Antoine Lemoine
(Portage version: 2.2.0_alpha173/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)
Diffstat (limited to 'media-gfx/png2ico/png2ico-2002.12.08.ebuild')
-rw-r--r-- | media-gfx/png2ico/png2ico-2002.12.08.ebuild | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/media-gfx/png2ico/png2ico-2002.12.08.ebuild b/media-gfx/png2ico/png2ico-2002.12.08.ebuild index dda9667905a6..2805a4d8774c 100644 --- a/media-gfx/png2ico/png2ico-2002.12.08.ebuild +++ b/media-gfx/png2ico/png2ico-2002.12.08.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/png2ico/png2ico-2002.12.08.ebuild,v 1.1 2011/10/09 09:04:00 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/png2ico/png2ico-2002.12.08.ebuild,v 1.2 2013/04/30 06:47:27 ssuominen Exp $ -EAPI=4 -inherit toolchain-funcs +EAPI=5 +inherit eutils toolchain-funcs DESCRIPTION="PNG to icon converter" HOMEPAGE="http://winterdrache.de/freeware/png2ico/index.html" @@ -14,13 +14,15 @@ SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" -RDEPEND="media-libs/libpng - sys-libs/zlib" +RDEPEND="media-libs/libpng:0= + sys-libs/zlib:=" DEPEND="${RDEPEND}" S=${WORKDIR}/${PN} src_prepare() { + epatch "${FILESDIR}"/${P}-memset_and_strcmp.patch + sed -i \ -e 's:CPPFLAGS=-W -Wall -O2:CXXFLAGS+=-W -Wall:' \ -e 's:g++ $(CPPFLAGS):$(CXX) $(LDFLAGS) $(CXXFLAGS):' \ |