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:
parent
91a40ef1e4
commit
0b9b709d49
|
@ -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 \
|
||||
|
|
Loading…
Reference in New Issue