diff options
author | David Spencer <baildon.research@googlemail.com> | 2015-08-27 23:37:49 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-01-17 09:40:16 +0700 |
commit | 0b9b709d493a5c4af2bb747428e5ffec66e1170c (patch) | |
tree | ab2acfcf4716f816f1a03518b9bb3d67ebe30f96 | |
parent | 91a40ef1e4bd27ccfd6c8b8deac94c3615f1054f (diff) | |
download | slackbuilds-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>
-rw-r--r-- | graphics/Pixie/Pixie.SlackBuild | 6 |
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 \ |