summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-strategy/augustus/files/augustus-3.0.1-musl-fix-execinfo.patch')
-rw-r--r--games-strategy/augustus/files/augustus-3.0.1-musl-fix-execinfo.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/games-strategy/augustus/files/augustus-3.0.1-musl-fix-execinfo.patch b/games-strategy/augustus/files/augustus-3.0.1-musl-fix-execinfo.patch
new file mode 100644
index 000000000000..e79e87702429
--- /dev/null
+++ b/games-strategy/augustus/files/augustus-3.0.1-musl-fix-execinfo.patch
@@ -0,0 +1,13 @@
+diff --git a/src/core/backtrace.c b/src/core/backtrace.c
+index 374fcdd..daf5c71 100644
+--- a/src/core/backtrace.c
++++ b/src/core/backtrace.c
+@@ -2,7 +2,7 @@
+
+ #include "core/log.h"
+
+-#if defined(__GNUC__) && !defined(__MINGW32__) && !defined(__OpenBSD__) && !defined(__vita__) && !defined(__SWITCH__) && !defined(__ANDROID__) && !defined(__HAIKU__)
++#if defined(__GNUC__) && defined(__GLIBC__) && !defined(__MINGW32__) && !defined(__OpenBSD__) && !defined(__vita__) && !defined(__SWITCH__) && !defined(__ANDROID__) && !defined(__HAIKU__)
+
+ #include <execinfo.h>
+