app-misc/flasm fails to compile under the 2.x series of Bison in portage with varying failures ("midrule X has no declared type", etc.). This seems to be due to 2.x being more strict on syntax. Upstream has a patch (upcoming attachment) that works for me under x86/hardened (gcc-3.4.6-r2/bison-2.4) and amd64/multilib(gcc-4.3.2-r2/bison-2.3, bison-2.4.1). Stated goal is to release it with/as 1.63, but I have no idea of the timeline.
Created attachment 177121 [details, diff] flasm-1.6.2 patch to work with bison-2.x Simple ebuild update adding the below patch to the ebuild works well for me: --- a/app-misc/flasm/flasm-1.6.2.ebuild 2007-09-03 03:42:17.000000000 -0600 +++ b/app-misc/flasm/flasm-1.6.2-r1.ebuild 2009-01-02 00:00:00.000000000 -0000 @@ -29,6 +29,7 @@ cd "${S}" epatch "${FILESDIR}"/${P}-makefile.patch + epatch "${FILESDIR}"/${P}-bison-2.patch } src_compile() {
Fixed, thanks