void-packages/srcpkgs/libreoffice/patches/0004-musl-execinfo_h.patch

12 lines
294 B
Diff

--- sal/osl/unx/signal.cxx 2016-01-27 01:58:25.000000000 +0100
+++ sal/osl/unx/signal.cxx 2016-02-23 19:33:44.618507179 +0100
@@ -33,7 +33,7 @@
#endif /* MACOSX */
-#ifdef LINUX
+#if defined(LINUX) && defined(__GLIBC__)
#include <execinfo.h>
#include <link.h>
#define INCLUDE_BACKTRACE