summaryrefslogtreecommitdiff
path: root/games/trackballs/trackballs.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2017-06-21 12:08:28 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-06-24 08:32:51 +0700
commit9ea897dbe3ccf801650a19d85263630057f5a488 (patch)
treefa60236a20ce56d8e671dcf61d554e57231e518f /games/trackballs/trackballs.SlackBuild
parentc6bcf415174c8ced71afaaa04fe285f35ec421e1 (diff)
downloadslackbuilds-9ea897dbe3ccf801650a19d85263630057f5a488.tar.gz
games/trackballs: Fix build for -current.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'games/trackballs/trackballs.SlackBuild')
-rw-r--r--games/trackballs/trackballs.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/games/trackballs/trackballs.SlackBuild b/games/trackballs/trackballs.SlackBuild
index 8ef5025219..810a670593 100644
--- a/games/trackballs/trackballs.SlackBuild
+++ b/games/trackballs/trackballs.SlackBuild
@@ -6,6 +6,8 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20170621 bkw: fix build on -current
+
PRGNAM=trackballs
VERSION=${VERSION:-1.1.4}
BUILD=${BUILD:-3}
@@ -57,7 +59,8 @@ find -L . \
-exec chmod 644 {} \;
# Apply two patches from redhat: one to fix building and running with guile-2.0.x,
-# another to fix "Esc" behaviour
+# another to fix "Esc" behaviour. Also abs.diff, which fixes the build for
+# gcc 7 from -current.
for i in $CWD/patches/* ; do patch -p1 < $i ; done
# Make icons honor DESTDIR (thanks to Johannes for this fix)