diff options
author | Dugan Chen <thedoogster@gmail.com> | 2014-03-04 17:22:17 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-03-04 17:22:17 +0700 |
commit | 257bbd155b26446e59a8ea50f801078e87d11684 (patch) | |
tree | e4992aee8975f5a6c197d9a609e617238d7904bf /games/vbam | |
parent | e0ddada0c9e273c1f566744810b662a52ddc44e3 (diff) | |
download | slackbuilds-257bbd155b26446e59a8ea50f801078e87d11684.tar.gz |
games/vbam: Fix Crash.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/vbam')
-rw-r--r-- | games/vbam/no_icons.patch | 11 | ||||
-rw-r--r-- | games/vbam/vbam.SlackBuild | 6 |
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 0000000000..a1c06d5b56 --- /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 de64d0ea3e..4470287b87 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" \ |