graphics/Pixie: Fixed to build with bison-3.

Signed-off-by: David Spencer <baildon.research@googlemail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
David Spencer 2015-08-27 23:37:49 +01:00 committed by Willy Sudiarto Raharjo
parent 91a40ef1e4
commit 0b9b709d49
1 changed files with 6 additions and 0 deletions

View File

@ -76,6 +76,12 @@ patch -p1 < $CWD/Pixie-2.2.6-strict.patch
# Fix a logical problem in configure for linking to the static version
sed -i.r_static -e 's|--ldstaticflags|--ldflags|' configure
# Fix building with bison-3 (thanks to cmuelle8 at Gentoo)
# https://bugs.gentoo.org/show_bug.cgi?id=486148
sed -i \
-e '/define YY_DECL/ s/yylval/riblval/' \
src/ri/rib.l
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \