aboutsummaryrefslogtreecommitdiffstats
path: root/testing/audacious/uclibc-execinfo.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/audacious/uclibc-execinfo.patch')
-rw-r--r--testing/audacious/uclibc-execinfo.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/testing/audacious/uclibc-execinfo.patch b/testing/audacious/uclibc-execinfo.patch
new file mode 100644
index 0000000000..803f273ef8
--- /dev/null
+++ b/testing/audacious/uclibc-execinfo.patch
@@ -0,0 +1,23 @@
+--- audacious-2.4.2.orig/src/libaudcore/audstrings.c
++++ audacious-2.4.2/src/libaudcore/audstrings.c
+@@ -230,9 +230,8 @@
+ return dirname;
+ }
+
+-#if defined(__GLIBC__) && (__GLIBC__ >= 2)
+-#define HAVE_EXECINFO 1
+-#include <execinfo.h>
++#ifdef HAVE_EXECINFO_H
++# include <execinfo.h>
+ #endif
+
+ /**
+@@ -258,7 +257,7 @@
+
+ /* already UTF-8? */
+ if (!g_utf8_validate(str, -1, NULL)) {
+-#ifdef HAVE_EXECINFO
++#ifdef HAVE_EXECINFO_H
+ gint i, nsymbols;
+ const gint nsymmax = 50;
+ void *addrbuf[nsymmax];