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

12 lines
369 B
Diff

--- source/lib/sysdep/os/linux/ldbg.cpp.orig 2018-06-16 16:27:55.639277094 +0200
+++ 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?