From 9a2b6b6d0769cd70da8a5d8a2c46308421baa6ba Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 30 May 2015 09:04:42 +0200 Subject: [PATCH] icewm: portability patch from Alpine. --- .../icewm/patches/backtrace_on_glibc.patch | 20 +++++++++++++++++++ srcpkgs/icewm/template | 2 +- 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/icewm/patches/backtrace_on_glibc.patch 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"