summaryrefslogtreecommitdiff
path: root/games-strategy/augustus/files/augustus-3.1.0-musl-fix-execinfo.patch
blob: 97b96cf61e5999169f0bac5eec1ff713f7d1c4dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# Closes: https://bugs.gentoo.org/829345
--- a/src/platform/crash_handler.c
+++ b/src/platform/crash_handler.c
@@ -7,7 +7,7 @@

 #if defined(__GNUC__) && !defined(__MINGW32__) && !defined(__OpenBSD__) && \
     !defined(__vita__) && !defined(__SWITCH__) && !defined(__ANDROID__) && \
-    !defined(__HAIKU__) && !defined(__EMSCRIPTEN__)
+    !defined(__HAIKU__) && !defined(__EMSCRIPTEN__) && defined(__GLIBC__)

 #include <execinfo.h>
 #include <signal.h>