aboutsummaryrefslogtreecommitdiff
path: root/desktop/lxlauncher/patches
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2014-09-05 11:15:59 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-09-05 23:21:10 +0700
commitfe3c3f50da554af145245322e73fc44849720d28 (patch)
tree076c6b552b958dc450a6f1d3e0cf551cfc9b4c0a /desktop/lxlauncher/patches
parent4b20e518b6a4dc99b2efd44136bc7bb9118b73ad (diff)
downloadslackbuilds-fe3c3f50da554af145245322e73fc44849720d28.tar.xz
desktop/lxlauncher: Updated for version 0.2.3.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'desktop/lxlauncher/patches')
-rw-r--r--desktop/lxlauncher/patches/0001-Fix-crash-in-case-libmenu-cache-returned-empty-menu.patch25
-rw-r--r--desktop/lxlauncher/patches/0002-Remove-call-to-libtoolize-from-autogen.sh-it-never-u.patch25
2 files changed, 50 insertions, 0 deletions
diff --git a/desktop/lxlauncher/patches/0001-Fix-crash-in-case-libmenu-cache-returned-empty-menu.patch b/desktop/lxlauncher/patches/0001-Fix-crash-in-case-libmenu-cache-returned-empty-menu.patch
new file mode 100644
index 000000000000..7278b0641c22
--- /dev/null
+++ b/desktop/lxlauncher/patches/0001-Fix-crash-in-case-libmenu-cache-returned-empty-menu.patch
@@ -0,0 +1,25 @@
+From 1828b0bf6a0193cf51bad92c034cdff0cf39953d Mon Sep 17 00:00:00 2001
+From: Andriy Grytsenko <andrej@rep.kiev.ua>
+Date: Thu, 4 Sep 2014 05:02:42 +0300
+Subject: [PATCH 1/2] Fix crash in case libmenu-cache returned empty menu.
+
+---
+ src/lxlauncher.c | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/src/lxlauncher.c b/src/lxlauncher.c
+index d48e994..9d5a516 100644
+--- a/src/lxlauncher.c
++++ b/src/lxlauncher.c
+@@ -697,6 +697,8 @@ static void create_notebook_pages()
+ GSList* l;
+
+ // build pages for toplevel groups
++ if (root_dir == NULL)
++ return;
+ #ifdef HAVE_MENU_CACHE_DIR_LIST_CHILDREN /* menu-cache 0.4.0 or newer */
+ children = menu_cache_dir_list_children(root_dir);
+ for( l = children; l; l = l->next )
+--
+2.1.0
+
diff --git a/desktop/lxlauncher/patches/0002-Remove-call-to-libtoolize-from-autogen.sh-it-never-u.patch b/desktop/lxlauncher/patches/0002-Remove-call-to-libtoolize-from-autogen.sh-it-never-u.patch
new file mode 100644
index 000000000000..45e57d8475c3
--- /dev/null
+++ b/desktop/lxlauncher/patches/0002-Remove-call-to-libtoolize-from-autogen.sh-it-never-u.patch
@@ -0,0 +1,25 @@
+From d529db70aa51a8e4f2b89339d7de9a81122414e2 Mon Sep 17 00:00:00 2001
+From: Andriy Grytsenko <andrej@rep.kiev.ua>
+Date: Thu, 4 Sep 2014 21:49:08 +0300
+Subject: [PATCH 2/2] Remove call to libtoolize from autogen.sh - it never
+ used.
+
+---
+ autogen.sh | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/autogen.sh b/autogen.sh
+index a282893..7fd9bd6 100755
+--- a/autogen.sh
++++ b/autogen.sh
+@@ -26,7 +26,6 @@ set -x
+
+ ${ACLOCAL:-aclocal$AM_VERSION} ${ACLOCAL_ARG}
+ ${AUTOHEADER:-autoheader$AC_VERSION} --force
+-AUTOMAKE=$AUTOMAKE libtoolize -c --automake --force
+ AUTOMAKE=$AUTOMAKE intltoolize -c --automake --force
+ $AUTOMAKE --add-missing --copy --include-deps
+ ${AUTOCONF:-autoconf$AC_VERSION}
+--
+2.1.0
+