summaryrefslogtreecommitdiff
path: root/games/ltris/ltris.SlackBuild
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2015-11-16 16:49:48 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-17 09:40:16 +0700
commit891df0d33a5f4401553c8ee3b6dcc578dd748cc2 (patch)
treef212f97a2aa4e9229570c3805688456a00291358 /games/ltris/ltris.SlackBuild
parentb668236c14de26281ddf7cbfa4974776c329ac2c (diff)
downloadslackbuilds-891df0d33a5f4401553c8ee3b6dcc578dd748cc2.tar.gz
games/ltris: Patch for the newer gcc.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/ltris/ltris.SlackBuild')
-rw-r--r--games/ltris/ltris.SlackBuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/games/ltris/ltris.SlackBuild b/games/ltris/ltris.SlackBuild
index 8e09f89a8f..d5d3f565f3 100644
--- a/games/ltris/ltris.SlackBuild
+++ b/games/ltris/ltris.SlackBuild
@@ -69,6 +69,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
+patch -p1 < $CWD/removed_all_inline_keywords.patch
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \