summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-strategy/augustus')
-rw-r--r--games-strategy/augustus/augustus-3.0.1.ebuild1
-rw-r--r--games-strategy/augustus/files/augustus-3.0.1-musl-fix-execinfo.patch13
2 files changed, 14 insertions, 0 deletions
diff --git a/games-strategy/augustus/augustus-3.0.1.ebuild b/games-strategy/augustus/augustus-3.0.1.ebuild
index 1adb27ab8703..e9e88193f601 100644
--- a/games-strategy/augustus/augustus-3.0.1.ebuild
+++ b/games-strategy/augustus/augustus-3.0.1.ebuild
@@ -26,6 +26,7 @@ RDEPEND="
PATCHES=(
"${FILESDIR}/${PN}-3.0.1-desktop_rename.patch"
+ "${FILESDIR}/${PN}-3.0.1-musl-fix-execinfo.patch"
)
src_prepare() {
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>
+