summaryrefslogtreecommitdiff
path: root/games/trackballs/trackballs.SlackBuild
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2013-11-04 21:39:07 +0100
committerRobby Workman <rworkman@slackbuilds.org>2013-11-06 00:53:35 -0600
commitb861e7aaee2b71709061b88615b3a523cffcb97d (patch)
tree43f41d124f31622888889b31e7290cf027fd96d9 /games/trackballs/trackballs.SlackBuild
parent85ebdac868e5699972dba15a370decd6f16b131f (diff)
downloadslackbuilds-b861e7aaee2b71709061b88615b3a523cffcb97d.tar.gz
games/trackball: Fix building with the newer guile.
Also fix the Esc key behaviour Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'games/trackballs/trackballs.SlackBuild')
-rw-r--r--games/trackballs/trackballs.SlackBuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/games/trackballs/trackballs.SlackBuild b/games/trackballs/trackballs.SlackBuild
index 2be097e496..4dfee298a7 100644
--- a/games/trackballs/trackballs.SlackBuild
+++ b/games/trackballs/trackballs.SlackBuild
@@ -8,7 +8,7 @@
PRGNAM=trackballs
VERSION=${VERSION:-1.1.4}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
@@ -58,6 +58,10 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# Apply two patches from redhat: one to fix building and running with guile-2.0.x,
+# another to fix "Esc" behaviour
+for i in $CWD/patches/* ; do patch -p1 < $i ; done
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \