media-gfx/pixie: Fix building with bison 3
authorKristian Fiskerstrand <k_f@gentoo.org>
Tue, 16 Feb 2016 21:11:06 +0000 (22:11 +0100)
committerKristian Fiskerstrand <k_f@gentoo.org>
Tue, 16 Feb 2016 21:11:22 +0000 (22:11 +0100)
Bug: 486148
Thanks-To: cmuelle8

Package-Manager: portage-2.2.27

media-gfx/pixie/pixie-2.2.6-r1.ebuild

index 50baf2d88cc763d7aa7380749dbe6d0099ab490a..b5dfae90f5b2a016b5ed18918a516c48e51e46a4 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -55,6 +55,9 @@ src_prepare() {
        # parallelism can break the regeneration process, with resulting
        # missing shaders.
        rm "${S}"/shaders/*.sdr
+
+       # FIX: flex does not translate variable name in custom YY_DECL
+       sed -i -e '/define YY_DECL/ s/yylval/riblval/' src/ri/rib.l
 }
 
 src_configure() {