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

25 lines
350 B
Diff

--- dbus/sigsegv.c
+++ 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