summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-emulation')
-rw-r--r--games-emulation/dosbox-staging/dosbox-staging-0.78.1.ebuild2
-rw-r--r--games-emulation/dosbox-staging/files/dosbox-staging-0.78.1-musl.patch16
2 files changed, 18 insertions, 0 deletions
diff --git a/games-emulation/dosbox-staging/dosbox-staging-0.78.1.ebuild b/games-emulation/dosbox-staging/dosbox-staging-0.78.1.ebuild
index 462a9abd8870..a882bcb7b4a8 100644
--- a/games-emulation/dosbox-staging/dosbox-staging-0.78.1.ebuild
+++ b/games-emulation/dosbox-staging/dosbox-staging-0.78.1.ebuild
@@ -35,6 +35,8 @@ BDEPEND="test? ( dev-cpp/gtest )"
DOCS=( AUTHORS README THANKS )
+PATCHES=( "${FILESDIR}"/${P}-musl.patch )
+
src_prepare() {
default
diff --git a/games-emulation/dosbox-staging/files/dosbox-staging-0.78.1-musl.patch b/games-emulation/dosbox-staging/files/dosbox-staging-0.78.1-musl.patch
new file mode 100644
index 000000000000..a1f4fe3ca654
--- /dev/null
+++ b/games-emulation/dosbox-staging/files/dosbox-staging-0.78.1-musl.patch
@@ -0,0 +1,16 @@
+diff --git a/src/libs/loguru/loguru.cpp b/src/libs/loguru/loguru.cpp
+index 9675cc1d..c4b5c0e3 100644
+--- a/src/libs/loguru/loguru.cpp
++++ b/src/libs/loguru/loguru.cpp
+@@ -83,7 +83,7 @@
+ #ifndef LOGURU_STACKTRACES
+ #define LOGURU_STACKTRACES 0
+ #endif
+-#elif defined(__rtems__) || defined(__ANDROID__) || defined(__FreeBSD__)
++#elif defined(__rtems__) || defined(__ANDROID__) || defined(__FreeBSD__) || !defined(__GLIBC__)
+ #define LOGURU_PTHREADS 1
+ #define LOGURU_WINTHREADS 0
+ #ifndef LOGURU_STACKTRACES
+--
+2.34.1
+