From b861e7aaee2b71709061b88615b3a523cffcb97d Mon Sep 17 00:00:00 2001 From: Matteo Bernardini Date: Mon, 4 Nov 2013 21:39:07 +0100 Subject: games/trackball: Fix building with the newer guile. Also fix the Esc key behaviour Signed-off-by: Matteo Bernardini --- games/trackballs/trackballs.SlackBuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'games/trackballs/trackballs.SlackBuild') 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 \ -- cgit v1.2.3-80-g2a13