summaryrefslogtreecommitdiff
path: root/graphics/Pixie
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2015-08-27 23:37:49 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-17 09:40:16 +0700
commit0b9b709d493a5c4af2bb747428e5ffec66e1170c (patch)
treeab2acfcf4716f816f1a03518b9bb3d67ebe30f96 /graphics/Pixie
parent91a40ef1e4bd27ccfd6c8b8deac94c3615f1054f (diff)
downloadslackbuilds-0b9b709d493a5c4af2bb747428e5ffec66e1170c.tar.gz
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>
Diffstat (limited to 'graphics/Pixie')
-rw-r--r--graphics/Pixie/Pixie.SlackBuild6
1 files changed, 6 insertions, 0 deletions
diff --git a/graphics/Pixie/Pixie.SlackBuild b/graphics/Pixie/Pixie.SlackBuild
index 25e3eac650..63e52adb49 100644
--- a/graphics/Pixie/Pixie.SlackBuild
+++ b/graphics/Pixie/Pixie.SlackBuild
@@ -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 \