summaryrefslogtreecommitdiff
path: root/games/jezzball-kazzmir/jezzball-kazzmir.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2015-11-22 01:22:02 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-11-28 07:26:17 +0700
commitd1e18febcd069fe2fac60cfed8c98d63c4ddbc7f (patch)
tree13521a86d47922a0991a19c3447b3f9c485e2981 /games/jezzball-kazzmir/jezzball-kazzmir.SlackBuild
parent6026b33f74e130f79bfc4264e0923e6201ea36df (diff)
downloadslackbuilds-d1e18febcd069fe2fac60cfed8c98d63c4ddbc7f.tar.gz
games/jezzball-kazzmir: Fix compile issue.
Diffstat (limited to 'games/jezzball-kazzmir/jezzball-kazzmir.SlackBuild')
-rw-r--r--games/jezzball-kazzmir/jezzball-kazzmir.SlackBuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/games/jezzball-kazzmir/jezzball-kazzmir.SlackBuild b/games/jezzball-kazzmir/jezzball-kazzmir.SlackBuild
index 180547aba8..e35c6365dd 100644
--- a/games/jezzball-kazzmir/jezzball-kazzmir.SlackBuild
+++ b/games/jezzball-kazzmir/jezzball-kazzmir.SlackBuild
@@ -12,7 +12,7 @@
PRGNAM=jezzball-kazzmir
VERSION=${VERSION:-1.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -65,6 +65,10 @@ 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 {} \;
+# 20151122 bkw: use allegro4's loadpng instead of the bundled one. fixes
+# build on -current, does no harm on 14.1.
+patch -p1 < $CWD/loadpng.diff
+
sed -i 's,\./data\|data/,'"$DATADIR"',' src/main.cpp
sed -i 's,score\.jzb,'$SCOREDIR'/&,' src/score.cpp