fix-musl-execinfo.patch (874B)
1There is no <execinfo.h> in musl libc 2 3--- libvtv/vtv_rts.cc 2016-09-23 16:17:11.000000000 +0200 4+++ libvtc/vtv_rts.cc 2016-09-25 15:08:57.896000000 +0200 5@@ -124,7 +124,7 @@ 6 #include <windows.h> 7 #include <winternl.h> 8 #include <psapi.h> 9-#else 10+#elif defined (__GLIBC__) 11 #include <execinfo.h> 12 #endif 13 14--- libvtv/vtv_utils.cc 2016-09-23 16:17:11.000000000 +0200 15+++ libvtv/vtv_utils.cc 2016-09-25 15:15:35.529000000 +0200 16@@ -34,7 +34,7 @@ 17 #include <string.h> 18 #if defined (__CYGWIN__) || defined (__MINGW32__) 19 #include <windows.h> 20-#else 21+#elif defined (__GLIBC__) 22 #include <execinfo.h> 23 #endif 24 25@@ -178,7 +178,7 @@ 26 27 __vtv_add_to_log (vtv_failures_log_fd, "%s", log_msg); 28 29-#if !defined (__CYGWIN__) && !defined (__MINGW32__) 30+#if !defined (__CYGWIN__) && !defined (__MINGW32__) && defined(__GLIBC__) 31 if (generate_backtrace) 32 { 33 #define STACK_DEPTH 20