summaryrefslogtreecommitdiff
path: root/games/bitfighter/bitfighter.SlackBuild
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2015-12-29 21:40:28 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-17 09:40:16 +0700
commit81b34f873003dd3290e0dfdb073c8df003dbc4a8 (patch)
tree4dfa8d6be9e100e472d4f279976b4f9abde2fb5f /games/bitfighter/bitfighter.SlackBuild
parent679819f921846e25118c346a122de6daf41a744b (diff)
downloadslackbuilds-81b34f873003dd3290e0dfdb073c8df003dbc4a8.tar.gz
games/bitfighter: Fixed build with gcc-5.3.0.
Signed-off-by: David Spencer <baildon.research@googlemail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/bitfighter/bitfighter.SlackBuild')
-rw-r--r--games/bitfighter/bitfighter.SlackBuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/games/bitfighter/bitfighter.SlackBuild b/games/bitfighter/bitfighter.SlackBuild
index bd7128a3cb..656c9e8530 100644
--- a/games/bitfighter/bitfighter.SlackBuild
+++ b/games/bitfighter/bitfighter.SlackBuild
@@ -70,6 +70,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# Fix for gcc-5 thanks to Arch Linux
+patch -p1 < $CWD/gcc-5.X.patch
+
mkdir -p build
cd build
cmake \