aports/main/jack/fix-execinfo.patch
Timo Teräs 4064771ec6 main/jack: fix arm build
update execinfo patch to completely remove any attempts to
do backtrace(). the code would insisted trying to use backtrace()
on arm. imitating backtrace() is generally bad practice security
wise. and this also fixes jack to produce core dumps.
2014-12-03 08:51:56 +00:00

25 lines
379 B
Diff

--- 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