mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-12-31 14:22:14 +01:00
24 lines
523 B
Diff
24 lines
523 B
Diff
--- ./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;
|