aboutsummaryrefslogtreecommitdiffstats
path: root/main/mesa/mesa-7.10-uclibc-gallium.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/mesa/mesa-7.10-uclibc-gallium.patch')
-rw-r--r--main/mesa/mesa-7.10-uclibc-gallium.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/main/mesa/mesa-7.10-uclibc-gallium.patch b/main/mesa/mesa-7.10-uclibc-gallium.patch
new file mode 100644
index 0000000000..a14743bc17
--- /dev/null
+++ b/main/mesa/mesa-7.10-uclibc-gallium.patch
@@ -0,0 +1,20 @@
+--- Mesa-7.10.orig/src/gallium/auxiliary/util/u_debug_symbol.c
++++ Mesa-7.10/src/gallium/auxiliary/util/u_debug_symbol.c
+@@ -145,7 +145,7 @@
+ }
+ #endif
+
+-#ifdef __GLIBC__
++#if defined(__GLIBC__) && !defined(__UCLIBC__)
+ #include <execinfo.h>
+
+ /* This can only provide dynamic symbols, or binary offsets into a file.
+@@ -171,7 +171,7 @@
+ return;
+ #endif
+
+-#ifdef __GLIBC__
++#if defined(__GLIBC__) && !defined(__UCLIBC__)
+ debug_symbol_name_glibc(addr, buf, size);
+ if(buf[0])
+ return;