--- ponyprog-2.07a-r1.ebuild.orig 2010-06-17 19:44:11.000000000 +0200 +++ ponyprog-2.07a-r1.ebuild 2010-06-17 19:43:50.000000000 +0200 @@ -4,7 +4,7 @@ EAPI="3" -inherit eutils +inherit eutils toolchain-funcs DESCRIPTION="Serial device programmer" HOMEPAGE="http://www.lancos.com/ppwin95.html" @@ -31,6 +31,7 @@ if (use epiphany && use firefox) ; then die "Only one of epiphany or firefox can be in USE." fi + tc-export CC CXX } src_prepare() { @@ -50,7 +51,8 @@ convert ponyprog.ico ponyprog.png # Fix compilation with gcc-4.3, bug #227503 - epatch "${FILESDIR}/${P}-gcc43.patch" + epatch "${FILESDIR}/${P}-gcc43.patch" \ + "${FILESDIR}"/${P}-respect-flags.patch } src_compile() {