void-packages/srcpkgs/jack/patches/fix-execinfo.patch

25 lines
354 B
Diff

--- a/dbus/sigsegv.c
+++ b/dbus/sigsegv.c
@@ -11,6 +11,8 @@
* Copyright (C) 2005 - 2008 Jaco Kroon
*/
+#ifdef __GLIBC__
+
#if defined(HAVE_CONFIG_H)
#include "config.h"
#endif
@@ -209,4 +211,12 @@
static void __attribute((constructor)) init(void) {
setup_sigsegv();
}
+#endif
+
+#else
+
+int setup_sigsegv() {
+ return 1;
+}
+
#endif