Fix compilation on arm

epel8
Guido Aulisi 5 years ago
parent 7e8434c6ef
commit cecf5d1034

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

@ -11,7 +11,7 @@
Summary: The Jack Audio Connection Kit Summary: The Jack Audio Connection Kit
Name: jack-audio-connection-kit Name: jack-audio-connection-kit
Version: 1.9.13 Version: 1.9.13
Release: 1%{?dist} Release: 2%{?dist}
# The entire source (~500 files) is a mixture of these three licenses # The entire source (~500 files) is a mixture of these three licenses
License: GPLv2 and GPLv2+ and LGPLv2+ License: GPLv2 and GPLv2+ and LGPLv2+
URL: http://www.jackaudio.org URL: http://www.jackaudio.org
@ -27,6 +27,8 @@ Patch1: jack-realtime-compat.patch
Patch2: %{name}-python-shebang.patch Patch2: %{name}-python-shebang.patch
# Catch exception by reference, patch sent upstream https://github.com/jackaudio/jack2/pull/511 # Catch exception by reference, patch sent upstream https://github.com/jackaudio/jack2/pull/511
Patch3: %{name}-catchbyreference.patch Patch3: %{name}-catchbyreference.patch
# Fix compilation on arm
Patch4: %{name}-arm.patch
BuildRequires: alsa-lib-devel BuildRequires: alsa-lib-devel
BuildRequires: dbus-devel BuildRequires: dbus-devel
@ -229,6 +231,9 @@ exit 0
%changelog %changelog
* Thu Oct 10 2019 Guido Aulisi <guido.aulisi@gmail.com> - 1.9.13-2
- Fix compilation on arm
* Mon Oct 07 2019 Guido Aulisi <guido.aulisi@gmail.com> - 1.9.13-1 * Mon Oct 07 2019 Guido Aulisi <guido.aulisi@gmail.com> - 1.9.13-1
- Update to 1.9.13 - Update to 1.9.13
- Drop python2 - Drop python2

Loading…
Cancel
Save