diff --git a/jack-audio-connection-kit-arm.patch b/jack-audio-connection-kit-arm.patch new file mode 100644 index 0000000..aee1e5d --- /dev/null +++ b/jack-audio-connection-kit-arm.patch @@ -0,0 +1,13 @@ +diff --git a/dbus/sigsegv.c b/dbus/sigsegv.c +index de316429..0f135ec0 100644 +--- a/dbus/sigsegv.c ++++ b/dbus/sigsegv.c +@@ -64,7 +64,7 @@ static void signal_segv(int signum, siginfo_t* info, void*ptr) { + const char *si_code_str; + ucontext_t *ucontext = (ucontext_t*)ptr; + +-#if defined(HAVE_UCONTEXT) && defined(HAVE_NGREG) ++#if ( defined(HAVE_UCONTEXT) && defined(HAVE_NGREG) ) || defined(HAVE_EXECINFO_H ) + size_t i; + #endif + #if defined(SIGSEGV_STACK_X86) || defined(SIGSEGV_STACK_IA64) diff --git a/jack-audio-connection-kit.spec b/jack-audio-connection-kit.spec index 03ad13e..ef286ff 100644 --- a/jack-audio-connection-kit.spec +++ b/jack-audio-connection-kit.spec @@ -11,7 +11,7 @@ Summary: The Jack Audio Connection Kit Name: jack-audio-connection-kit Version: 1.9.13 -Release: 1%{?dist} +Release: 2%{?dist} # The entire source (~500 files) is a mixture of these three licenses License: GPLv2 and GPLv2+ and LGPLv2+ URL: http://www.jackaudio.org @@ -27,6 +27,8 @@ Patch1: jack-realtime-compat.patch Patch2: %{name}-python-shebang.patch # Catch exception by reference, patch sent upstream https://github.com/jackaudio/jack2/pull/511 Patch3: %{name}-catchbyreference.patch +# Fix compilation on arm +Patch4: %{name}-arm.patch BuildRequires: alsa-lib-devel BuildRequires: dbus-devel @@ -229,6 +231,9 @@ exit 0 %changelog +* Thu Oct 10 2019 Guido Aulisi - 1.9.13-2 +- Fix compilation on arm + * Mon Oct 07 2019 Guido Aulisi - 1.9.13-1 - Update to 1.9.13 - Drop python2