summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Meier <maekke@gentoo.org>2009-06-01 19:17:46 +0000
committerMarkus Meier <maekke@gentoo.org>2009-06-01 19:17:46 +0000
commitbc61593e8020c3b362f50c0ec879246d14b7b581 (patch)
tree659fb0862cb1fff463a86fc57926e55e4ef2dba9 /media-gfx/pngrewrite/pngrewrite-1.3.0.ebuild
parentSparc stable, Bug #250349. (diff)
downloadgentoo-2-bc61593e8020c3b362f50c0ec879246d14b7b581.tar.gz
gentoo-2-bc61593e8020c3b362f50c0ec879246d14b7b581.tar.bz2
gentoo-2-bc61593e8020c3b362f50c0ec879246d14b7b581.zip
fix building with gcc-4.4, bug #272120
(Portage version: 2.2_rc33/cvs/Linux i686)
Diffstat (limited to 'media-gfx/pngrewrite/pngrewrite-1.3.0.ebuild')
-rw-r--r--media-gfx/pngrewrite/pngrewrite-1.3.0.ebuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/media-gfx/pngrewrite/pngrewrite-1.3.0.ebuild b/media-gfx/pngrewrite/pngrewrite-1.3.0.ebuild
index 38e5f864295c..dcb99bb3b0bf 100644
--- a/media-gfx/pngrewrite/pngrewrite-1.3.0.ebuild
+++ b/media-gfx/pngrewrite/pngrewrite-1.3.0.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/pngrewrite/pngrewrite-1.3.0.ebuild,v 1.1 2009/04/20 20:43:24 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/pngrewrite/pngrewrite-1.3.0.ebuild,v 1.2 2009/06/01 19:17:46 maekke Exp $
-inherit toolchain-funcs
+inherit toolchain-funcs base
DESCRIPTION="A utility which reduces large palettes in PNG images"
HOMEPAGE="http://entropymine.com/jason/pngrewrite/"
@@ -18,6 +18,7 @@ DEPEND="${RDEPEND}
app-arch/unzip"
S=${WORKDIR}
+PATCHES=( "${FILESDIR}"/${P}-gcc44.patch )
src_compile() {
$(tc-getCC) ${LDFLAGS} ${CFLAGS} ${PN}.c -lpng -o ${PN} \