summaryrefslogtreecommitdiff
path: root/repo/jack/fix-execinfo.patch
diff options
context:
space:
mode:
Diffstat (limited to 'repo/jack/fix-execinfo.patch')
-rw-r--r--repo/jack/fix-execinfo.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/repo/jack/fix-execinfo.patch b/repo/jack/fix-execinfo.patch
new file mode 100644
index 0000000..24218ae
--- /dev/null
+++ b/repo/jack/fix-execinfo.patch
@@ -0,0 +1,24 @@
+--- jack-1.9.10.orig/dbus/sigsegv.c
++++ jack-1.9.10/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