diff --git a/jack-audio-connection-kit-alpha_ia64-sigsegv.patch b/jack-audio-connection-kit-alpha_ia64-sigsegv.patch new file mode 100644 index 0000000..24ea844 --- /dev/null +++ b/jack-audio-connection-kit-alpha_ia64-sigsegv.patch @@ -0,0 +1,30 @@ +From d11bb095291d8880508c87adfe625bf2bcab1456 Mon Sep 17 00:00:00 2001 +From: Alexander Graf +Date: Tue, 5 Mar 2013 01:38:10 +0100 +Subject: [PATCH] Add support for aarch64 + +When compiling jack on aarch64, compilation fails because NGREGS is not +defined. Since this is only for debug output on segmentation faults, stub +the debug print out like it's been done for other platforms before. + +Signed-off-by: Alexander Graf +--- + dbus/sigsegv.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/dbus/sigsegv.c b/dbus/sigsegv.c +index d41091c..64c3986 100644 +--- a/dbus/sigsegv.c ++++ b/dbus/sigsegv.c +@@ -104,7 +104,7 @@ static void signal_segv(int signum, siginfo_t* info, void*ptr) { + jack_error("info.si_errno = %d", info->si_errno); + jack_error("info.si_code = %d (%s)", info->si_code, si_code_str); + jack_error("info.si_addr = %p", info->si_addr); +-#if !defined(__alpha__) && !defined(__ia64__) && !defined(__FreeBSD_kernel__) && !defined(__arm__) && !defined(__hppa__) && !defined(__sh__) ++#if !defined(__alpha__) && !defined(__ia64__) && !defined(__FreeBSD_kernel__) && !defined(__arm__) && !defined(__hppa__) && !defined(__sh__) && !defined(__aarch64__) + for(i = 0; i < NGREG; i++) + jack_error("reg[%02d] = 0x" REGFORMAT, i, + #if defined(__powerpc64__) +-- +1.9.1 + diff --git a/jack-audio-connection-kit.spec b/jack-audio-connection-kit.spec index 993ac79..29089de 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.9.5 -Release: 5%{?dist} +Release: 6%{?dist} # The entire source (~500 files) is a mixture of these three licenses License: GPLv2 and GPLv2+ and LGPLv2+ Group: System Environment/Daemons @@ -34,6 +34,8 @@ Patch4: jack-realtime-compat.patch Patch5: jack-portnames.patch # Fix ppc64 mpd startup issue RHBZ#799552 Patch6: jack-ppc64-long.patch +# Fix aarch64 arm - see https://github.com/jackaudio/jack2/commit/d11bb09 +Patch7: jack-audio-connection-kit-alpha_ia64-sigsegv.patch BuildRequires: alsa-lib-devel BuildRequires: dbus-devel @@ -102,6 +104,7 @@ Small example clients that use the Jack Audio Connection Kit. %patch4 -p1 -b .priority %patch5 -p1 -b .portnames %patch6 -p1 -b .mpd +%patch7 -p1 -b .armsigsegv # Fix encoding issues for file in ChangeLog README TODO; do @@ -258,6 +261,9 @@ exit 0 %changelog +* Sun May 04 2014 Brendan Jones 1.9.9.5-6 +- Fix build on aarch64 - commit #d11bb09 + * Wed Mar 26 2014 Jaromir Capik - 1.9.9.5-5 - Adding bootstrap support to break libffado dependency loops