aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games/vbam/no_icons.patch11
-rw-r--r--games/vbam/vbam.SlackBuild6
2 files changed, 16 insertions, 1 deletions
diff --git a/games/vbam/no_icons.patch b/games/vbam/no_icons.patch
new file mode 100644
index 000000000000..a1c06d5b567b
--- /dev/null
+++ b/games/vbam/no_icons.patch
@@ -0,0 +1,11 @@
+diff -rupN vbam-r1159.orig/src/gtk/window.cpp vbam-r1159/src/gtk/window.cpp
+--- vbam-r1159.orig/src/gtk/window.cpp 2013-02-03 12:59:48.000000000 +0000
++++ vbam-r1159/src/gtk/window.cpp 2013-09-11 15:21:43.646331404 +0100
+@@ -248,6 +248,7 @@ Window::Window(GtkWindow * _pstWindow, c
+ m_poRecentChooserMenu->set_show_numbers();
+ m_poRecentChooserMenu->set_show_tips();
+ m_poRecentChooserMenu->set_local_only();
++ m_poRecentChooserMenu->set_show_icons(false);
+ m_poRecentChooserMenu->add_filter(oRecentFilter);
+ m_poRecentChooserMenu->signal_item_activated().connect(
+ sigc::mem_fun(*this, &Window::vOnRecentFile));
diff --git a/games/vbam/vbam.SlackBuild b/games/vbam/vbam.SlackBuild
index de64d0ea3e21..4470287b8739 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" \