mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-12-26 11:52:25 +01:00
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.
25 lines
379 B
Diff
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
|