summaryrefslogtreecommitdiffstats
path: root/main/mesa/uclibc-debug.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-10-16 07:46:21 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-10-17 08:59:36 +0000
commit6d9f39b8276ea1b742065560e23cd909ac0e6123 (patch)
tree8793fec263a865b48cca17a579ec8fb24a733176 /main/mesa/uclibc-debug.patch
parentdaf90d217db90ea1dafb9d15d4c2a74cd2bc6f73 (diff)
downloadaports-6d9f39b8276ea1b742065560e23cd909ac0e6123.tar.bz2
aports-6d9f39b8276ea1b742065560e23cd909ac0e6123.tar.xz
main/mesa: upgrade to 9.0
Diffstat (limited to 'main/mesa/uclibc-debug.patch')
-rw-r--r--main/mesa/uclibc-debug.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/main/mesa/uclibc-debug.patch b/main/mesa/uclibc-debug.patch
new file mode 100644
index 000000000..e503d15a6
--- /dev/null
+++ b/main/mesa/uclibc-debug.patch
@@ -0,0 +1,23 @@
+--- ./src/gallium/auxiliary/util/u_debug_symbol.c.orig
++++ ./src/gallium/auxiliary/util/u_debug_symbol.c
+@@ -151,10 +151,8 @@
+ }
+ #endif
+
+-#ifdef __GLIBC__
+-#ifndef __UCLIBC__
++#if defined(__GLIBC__) && !defined(__UCLIBC__)
+ #include <execinfo.h>
+-#endif
+
+ /* This can only provide dynamic symbols, or binary offsets into a file.
+ *
+@@ -179,7 +177,7 @@
+ return;
+ #endif
+
+-#ifdef __GLIBC__
++#if defined(__GLIBC__) && !defined(__UCLIBC__)
+ debug_symbol_name_glibc(addr, buf, size);
+ if(buf[0])
+ return;