aboutsummaryrefslogtreecommitdiff
path: root/games/supertuxkart/supertuxkart.SlackBuild
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2021-03-29 19:47:02 +0200
committerRobby Workman <rworkman@slackbuilds.org>2021-04-18 00:00:59 -0500
commit158296411d04000ac108b1516d7c64e1986b6351 (patch)
treecbc660a7b8bfe220dcb6bf3cf2932bdd9b1aa904 /games/supertuxkart/supertuxkart.SlackBuild
parent404b75b9a1eb5a478ad03dd5565fa74120017f15 (diff)
games/supertuxkart: Fix building with SDL2 >= 2.0.14.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'games/supertuxkart/supertuxkart.SlackBuild')
-rw-r--r--games/supertuxkart/supertuxkart.SlackBuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/games/supertuxkart/supertuxkart.SlackBuild b/games/supertuxkart/supertuxkart.SlackBuild
index 47fd592558cd2..dfd60669ecce5 100644
--- a/games/supertuxkart/supertuxkart.SlackBuild
+++ b/games/supertuxkart/supertuxkart.SlackBuild
@@ -81,6 +81,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 {} \;
+# Thanks debian!
+patch -p1 < $CWD/ftbfs_sdl.patch
+
mkdir -p build
cd build
cmake \