aboutsummaryrefslogtreecommitdiffstats
path: root/main/jack/fix-execinfo.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/jack/fix-execinfo.patch')
-rw-r--r--main/jack/fix-execinfo.patch32
1 files changed, 22 insertions, 10 deletions
diff --git a/main/jack/fix-execinfo.patch b/main/jack/fix-execinfo.patch
index 170c432774..24218aebfd 100644
--- a/main/jack/fix-execinfo.patch
+++ b/main/jack/fix-execinfo.patch
@@ -1,12 +1,24 @@
---- jack-1.9.9.5.orig/dbus/sigsegv.c
-+++ jack-1.9.9.5/dbus/sigsegv.c
-@@ -27,7 +27,9 @@
- #include <stdio.h>
- #include <signal.h>
- #include <dlfcn.h>
+--- 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__
- #include <execinfo.h>
++
+ #if defined(HAVE_CONFIG_H)
+ #include "config.h"
+ #endif
+@@ -209,4 +211,12 @@
+ static void __attribute((constructor)) init(void) {
+ setup_sigsegv();
+ }
+#endif
- #include <errno.h>
- #ifndef NO_CPP_DEMANGLE
- char * __cxa_demangle(const char * __mangled_name, char * __output_buffer, size_t * __length, int * __status);
++
++#else
++
++int setup_sigsegv() {
++ return 1;
++}
++
+ #endif