void-packages/srcpkgs/0ad/patches/musl.patch

12 lines
368 B
Diff

--- a/source/lib/sysdep/os/linux/ldbg.cpp 2018-06-16 16:27:55.639277094 +0200
+++ b/source/lib/sysdep/os/linux/ldbg.cpp 2018-06-16 16:28:17.342014019 +0200
@@ -33,7 +33,7 @@
#include "lib/sysdep/sysdep.h"
#include "lib/debug.h"
-#if OS_ANDROID
+#if OS_ANDROID || !defined(__GLIBC__)
// Android NDK doesn't support backtrace()
// TODO: use unwind.h or similar?