diff --git a/srcpkgs/icewm/patches/backtrace_on_glibc.patch b/srcpkgs/icewm/patches/backtrace_on_glibc.patch new file mode 100644 index 00000000000..15ac1c0fd7f --- /dev/null +++ b/srcpkgs/icewm/patches/backtrace_on_glibc.patch @@ -0,0 +1,20 @@ +--- src/misc.cc ++++ src/misc.cc +@@ -15,7 +15,7 @@ + #include + #endif + +-#ifdef linux ++#ifdef __GLIBC__ + #include + #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]; diff --git a/srcpkgs/icewm/template b/srcpkgs/icewm/template index 826da215bc7..a01bd295d58 100644 --- a/srcpkgs/icewm/template +++ b/srcpkgs/icewm/template @@ -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"