summaryrefslogtreecommitdiff
path: root/games/neverball/neverball.SlackBuild
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2020-05-09 20:12:06 +0200
committerRobby Workman <rworkman@slackbuilds.org>2021-04-17 23:45:01 -0500
commit5c25c1f5837d29dd9250c296ea3a9c9537d278e3 (patch)
tree7016766e911aec007b767bde84b94195a5a8abd3 /games/neverball/neverball.SlackBuild
parent91fe1b07f311d07d186baffe25758241c3d5deb1 (diff)
downloadslackbuilds-5c25c1f5837d29dd9250c296ea3a9c9537d278e3.tar.gz
games/neverball: Patch for gcc >= 10.x.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'games/neverball/neverball.SlackBuild')
-rw-r--r--games/neverball/neverball.SlackBuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/games/neverball/neverball.SlackBuild b/games/neverball/neverball.SlackBuild
index c6bb39b7f9..38ecd9d032 100644
--- a/games/neverball/neverball.SlackBuild
+++ b/games/neverball/neverball.SlackBuild
@@ -72,6 +72,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+patch -p1 < $CWD/gcc10.patch
+
# Patch Makefile to change data directory and to make it compile
# with appropriate flags
patch -p1 < $CWD/Makefile.diff || exit 1