void-packages/srcpkgs/ghdl/patches/musl.patch
2020-05-20 21:38:48 +02:00

11 lines
405 B
Diff

--- src/grt/config/jumps.c 2019-03-03 09:38:19.000000000 +0100
+++ - 2019-04-29 12:58:54.717203690 +0200
@@ -29,7 +29,7 @@
#include <signal.h>
#include <fcntl.h>
-#if ( defined (__linux__) || defined (__APPLE__) ) && !defined (__ANDROID__)
+#if ( defined (__linux__) && defined(__GLIBC__) || defined (__APPLE__) ) && !defined (__ANDROID__)
#define HAVE_BACKTRACE 1
#include <sys/ucontext.h>
#endif