--- antlr-2.7.7.ebuild 2008-03-08 14:35:40.000000000 +0100 +++ antlr-2.7.7-r1.ebuild 2008-03-19 20:12:45.000000000 +0100 @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/antlr/antlr-2.7.7.ebuild,v 1.10 2008/03/08 13:31:43 betelgeuse Exp $ +# $Header: $ EAPI=1 @@ -23,6 +23,12 @@ script? ( !dev-util/pccts ) source? ( app-arch/zip )" +src_unpack() { + unpack "${A}" + cd "${S}" + epatch "${FILESDIR}/${P}-gcc4.3.patch" +} + src_compile() { # don't ask why, but this is needed for stuff to get built properly # across the various JDKs