distribution/packages/x11/other/fluxbox/patches/fluxbox-01_hack-avoid-potential-SIGFPE-in-Menu-updateMenu.patch
2022-02-05 09:23:32 -05:00

20 lines
695 B
Diff

From 540dc69955cddd5db24a8a9e16db8162fc0ddd10 Mon Sep 17 00:00:00 2001
From: Stefan Saraev <stefan@saraev.ca>
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 -Naur fluxbox-1.3.7/src/FbTk/Menu.cc fluxbox-1.3.7.patch/src/FbTk/Menu.cc
--- fluxbox-1.3.7/src/FbTk/Menu.cc 2015-02-08 11:44:45.357187009 +0100
+++ fluxbox-1.3.7.patch/src/FbTk/Menu.cc 2015-02-15 21:37:37.322872231 +0100
@@ -390,6 +390,7 @@
}
void Menu::updateMenu() {
+ return; // because nobody cares
int bevel = theme()->bevelWidth();
int bw = theme()->borderWidth();