aports/testing/icewm/backtrace_on_glibc.patch
Isaac Dunham f1a11ebbcc Add icewm 1.3.8.
This is a relatively lightweight window manager that feels about like
Windows 9x/2000 by default, but can be configured to look and act more
like mwm or the OS/2 Presentation Manager quite easily.

Themes are available online to make it look similar to Windows XP,
Vista, and 7, OS X, plus quite a few unique ones.
Icewm supports XPM transparency and animated buttons with
appropriate themes.

At present you will need to copy /usr/share/icewm to ~/.icewm and
manually edit the examples provided (especially "menu").
2014-06-17 06:08:09 +00:00

23 lines
431 B
Diff

diff --git a/src/misc.cc b/src/misc.cc
index 8b7905a..1eee766 100644
--- a/src/misc.cc
+++ b/src/misc.cc
@@ -15,7 +15,7 @@
#include <libgen.h>
#endif
-#ifdef linux
+#ifdef __GLIBC__
#include <execinfo.h>
#endif
@@ -539,7 +539,7 @@ bool isreg(char const *path) {
}
void show_backtrace() {
-#ifdef linux
+#ifdef __GLIBC__
const char head[] = "\nbacktrace:\n";
const char tail[] = "end\n";
void *array[20];