diff options
Diffstat (limited to 'games/oblige-legacy4/oblige-legacy4.SlackBuild')
-rw-r--r-- | games/oblige-legacy4/oblige-legacy4.SlackBuild | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/games/oblige-legacy4/oblige-legacy4.SlackBuild b/games/oblige-legacy4/oblige-legacy4.SlackBuild index 5b95461ce9748..c0f08d31dd701 100644 --- a/games/oblige-legacy4/oblige-legacy4.SlackBuild +++ b/games/oblige-legacy4/oblige-legacy4.SlackBuild @@ -6,6 +6,8 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20170621 bkw: fix build on -current. + # 20140916 bkw: bump BUILD to 2. # - add man page # - add mention of Hexen in README @@ -77,6 +79,10 @@ cp $CWD/Makefile.unixy Makefile # Fix a missing include sed -i '1i#include <unistd.h>' gui/lib_util.cc +# -current's gcc doesn't allow assigning a bool to a pointer without +# a cast: +sed -i '/button_line *= *false/s,false,0,' gui/ui_console.cc + # Legacy version shouldn't use same /usr/share and dotfile dir as # current version. sed -i "s,\.$OLDNAM,.$PRGNAM,g" doc/File_Layout.txt gui/main.cc |