From cf0c0bd13a73f06421e9c1c7b0859614c00308f7 Mon Sep 17 00:00:00 2001 From: Stefan Saraev Date: Fri, 25 Apr 2014 18:36:13 +0300 Subject: [PATCH 1/2] fluxbox: disable xft/xpm/fribidi. not used anyway --- packages/x11/other/fluxbox/package.mk | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/x11/other/fluxbox/package.mk b/packages/x11/other/fluxbox/package.mk index 7340e8bb0e..3af20d639d 100644 --- a/packages/x11/other/fluxbox/package.mk +++ b/packages/x11/other/fluxbox/package.mk @@ -37,7 +37,10 @@ PKG_CONFIGURE_OPTS_TARGET="ac_cv_func_realloc_0_nonnull=yes \ --disable-toolbar \ --disable-slit \ --disable-systray \ - --enable-ewmh + --enable-ewmh \ + --disable-xpm \ + --disable-xft \ + --disable-fribidi \ --disable-remember \ --disable-regexp \ --disable-debug \ From 398a78a013d5faeea45e8a9bde07f4426cb96e93 Mon Sep 17 00:00:00 2001 From: Stefan Saraev Date: Fri, 25 Apr 2014 18:36:53 +0300 Subject: [PATCH 2/2] fluxbox: avoid potential SIGFPE in Menu::updateMenu() --- ...-potential-SIGFPE-in-Menu-updateMenu.patch | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 packages/x11/other/fluxbox/patches/fluxbox-01_hack-avoid-potential-SIGFPE-in-Menu-updateMenu.patch diff --git a/packages/x11/other/fluxbox/patches/fluxbox-01_hack-avoid-potential-SIGFPE-in-Menu-updateMenu.patch b/packages/x11/other/fluxbox/patches/fluxbox-01_hack-avoid-potential-SIGFPE-in-Menu-updateMenu.patch new file mode 100644 index 0000000000..89b11072d0 --- /dev/null +++ b/packages/x11/other/fluxbox/patches/fluxbox-01_hack-avoid-potential-SIGFPE-in-Menu-updateMenu.patch @@ -0,0 +1,24 @@ +From 540dc69955cddd5db24a8a9e16db8162fc0ddd10 Mon Sep 17 00:00:00 2001 +From: Stefan Saraev +Date: Fri, 25 Apr 2014 13:02:35 +0300 +Subject: [PATCH] hack: avoid potential SIGFPE in Menu::updateMenu() + +--- + src/FbTk/Menu.cc | 1 + + 1 files changed, 1 insertions(+), 0 deletions(-) + +diff --git a/src/FbTk/Menu.cc b/src/FbTk/Menu.cc +index 3632fc9..75a5b4a 100644 +--- a/src/FbTk/Menu.cc ++++ b/src/FbTk/Menu.cc +@@ -396,6 +396,7 @@ void Menu::enableTitle() { + } + + void Menu::updateMenu() { ++ return; // because nobody cares + if (m_title_vis) { + m_item_w = theme()->titleFont().textWidth(m_label); + m_item_w += (theme()->bevelWidth() * 2); +-- +1.7.2.5 +