aboutsummaryrefslogtreecommitdiffstats
path: root/main/jack/fix-execinfo.patch
blob: 24218aebfdd06a63adc724d7503370f96fb542b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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