icewm: portability patch from Alpine.
This commit is contained in:
parent
82391e3425
commit
9a2b6b6d07
|
@ -0,0 +1,20 @@
|
|||
--- src/misc.cc
|
||||
+++ 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];
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'icewm'
|
||||
pkgname=icewm
|
||||
version=1.3.8
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-configure
|
||||
configure_args="--enable-shaped-decorations --enable-gradients"
|
||||
hostmakedepends="pkg-config"
|
||||
|
|
Loading…
Reference in New Issue