summaryrefslogtreecommitdiff
path: root/games/assaultcube/assaultcube.SlackBuild
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2018-03-17 18:53:20 +0100
committerRobby Workman <rworkman@slackbuilds.org>2021-04-17 23:09:19 -0500
commitab0facba4192dade2e247a5e89f922c51c919020 (patch)
treeaa11d4a41e49e095c922b40a9c4ed28dd3b8322a /games/assaultcube/assaultcube.SlackBuild
parentc5c6e150fc4291557a24a8bc8bebe913581efbb4 (diff)
downloadslackbuilds-ab0facba4192dade2e247a5e89f922c51c919020.tar.gz
games/assaultcube: Patched for the newer gcc.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'games/assaultcube/assaultcube.SlackBuild')
-rw-r--r--games/assaultcube/assaultcube.SlackBuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/games/assaultcube/assaultcube.SlackBuild b/games/assaultcube/assaultcube.SlackBuild
index 0f5f023de6..21563e48f1 100644
--- a/games/assaultcube/assaultcube.SlackBuild
+++ b/games/assaultcube/assaultcube.SlackBuild
@@ -67,6 +67,8 @@ 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 {} \;
+patch -p1 < $CWD/assaultcube-gcc6.patch
+
# Use custom SLKCFLAGS, remove end-of-line encoding and remove precompiled binaries.
patch -p1 < $CWD/Makefile.patch
sed -i 's/\r//g' changelog.txt