aboutsummaryrefslogtreecommitdiffstats
path: root/main/mesa/mesa-7.10-uclibc-gallium.patch
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2011-02-02 23:19:26 -0600
committerWilliam Pitcock <nenolod@dereferenced.org>2011-02-02 23:19:26 -0600
commit13e6cc1fa8c6b6d35d14b02e226fab17e089e08c (patch)
treed8c042bd49cd704da22932077655ea774e3803b2 /main/mesa/mesa-7.10-uclibc-gallium.patch
parent4f29312a0df2b3d2ef5bc50790c5e44e6acffc46 (diff)
downloadaports-13e6cc1fa8c6b6d35d14b02e226fab17e089e08c.tar.bz2
aports-13e6cc1fa8c6b6d35d14b02e226fab17e089e08c.tar.xz
Revert "Revert "main/mesa: upgrade to 7.10""
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;