diff options
-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 \ |