aboutsummaryrefslogtreecommitdiff
path: root/games/vbam/vbam.SlackBuild
diff options
context:
space:
mode:
authorDugan Chen <thedoogster@gmail.com>2014-03-04 17:22:17 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-03-04 17:22:17 +0700
commit257bbd155b26446e59a8ea50f801078e87d11684 (patch)
treee4992aee8975f5a6c197d9a609e617238d7904bf /games/vbam/vbam.SlackBuild
parente0ddada0c9e273c1f566744810b662a52ddc44e3 (diff)
games/vbam: Fix Crash.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/vbam/vbam.SlackBuild')
-rw-r--r--games/vbam/vbam.SlackBuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/games/vbam/vbam.SlackBuild b/games/vbam/vbam.SlackBuild
index de64d0ea3e21f..4470287b8739a 100644
--- a/games/vbam/vbam.SlackBuild
+++ b/games/vbam/vbam.SlackBuild
@@ -23,7 +23,7 @@
PRGNAM=vbam
VERSION=${VERSION:-r1202}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -76,6 +76,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 {} \;
+# See here for an explanation:
+# http://www.linuxquestions.org/questions/slackware-14/vbam-slackbuild-4175476221/page3.html#post5025795
+patch -p1 --verbose < $CWD/no_icons.patch
+
cmake . \
-DCMAKE_C_FLAGS="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS="$SLKCFLAGS" \