summaryrefslogtreecommitdiffstats
path: root/main/audacious/uclibc-execinfo.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-12-29 09:46:42 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-12-29 09:46:42 +0000
commit08114e959a98c150888b90cc03eeb17898a6137f (patch)
treebc3801452a10426350f58ef17b6e250ebccdfbe5 /main/audacious/uclibc-execinfo.patch
parentc98d2c856a45c968ed7cb60ef354b4913bc12565 (diff)
downloadaports-08114e959a98c150888b90cc03eeb17898a6137f.tar.bz2
aports-08114e959a98c150888b90cc03eeb17898a6137f.tar.xz
main/audacious*: moved frrom testing
Diffstat (limited to 'main/audacious/uclibc-execinfo.patch')
-rw-r--r--main/audacious/uclibc-execinfo.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/main/audacious/uclibc-execinfo.patch b/main/audacious/uclibc-execinfo.patch
new file mode 100644
index 000000000..803f273ef
--- /dev/null
+++ b/main/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];