Add patch to fix ftbfs on aarch64
This commit is contained in:
parent
50698cf1e3
commit
1ae3db077e
2 changed files with 28 additions and 3 deletions
20
a2jmidid-aarch64.patch
Normal file
20
a2jmidid-aarch64.patch
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
--- a2jmidid-8/sigsegv.c.orig 2014-10-27 00:55:18.105347411 +0000
|
||||
+++ a2jmidid-8/sigsegv.c 2014-10-27 00:56:07.209296207 +0000
|
||||
@@ -91,7 +91,7 @@
|
||||
a2j_error("info.si_errno = %d", info->si_errno);
|
||||
a2j_error("info.si_code = %d (%s)", info->si_code, si_codes[info->si_code]);
|
||||
a2j_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++)
|
||||
a2j_error("reg[%02d] = 0x" REGFORMAT, i,
|
||||
#if defined(__powerpc__)
|
||||
@@ -102,7 +102,7 @@
|
||||
ucontext->uc_mcontext.gregs[i]
|
||||
#endif
|
||||
);
|
||||
-#endif /* alpha, ia64, kFreeBSD, arm, hppa */
|
||||
+#endif /* alpha, ia64, kFreeBSD, arm, hppa, aarch64 */
|
||||
|
||||
#if defined(SIGSEGV_STACK_X86) || defined(SIGSEGV_STACK_IA64)
|
||||
# if defined(SIGSEGV_STACK_IA64)
|
||||
|
|
@ -1,14 +1,15 @@
|
|||
Summary: Daemon for exposing ALSA sequencer applications in JACK MIDI system
|
||||
Name: a2jmidid
|
||||
Version: 8
|
||||
Release: 7%{?dist}
|
||||
Release: 8%{?dist}
|
||||
URL: http://home.gna.org/a2jmidid/
|
||||
Source0: http://download.gna.org/%{name}/%{name}-%{version}.tar.bz2
|
||||
# a2jmidi_bridge.c and j2amidi_bridge.c are GPLv2+
|
||||
# The rest is GPLv2
|
||||
# Fix DSO linking: https://gna.org/support/index.php?2934
|
||||
Patch0: a2jmidid-linking.patch
|
||||
patch1: a2jmidid-man.patch
|
||||
Patch1: a2jmidid-man.patch
|
||||
Patch2: a2jmidid-aarch64.patch
|
||||
License: GPLv2 and GPLv2+
|
||||
Group: Applications/Multimedia
|
||||
|
||||
|
|
@ -34,7 +35,8 @@ one ALSA sequencer port and one JACK MIDI port. Such bridge is unidirectional.
|
|||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1 -b .dso.linking
|
||||
%patch1 -p1
|
||||
%patch1 -p1 -b .man
|
||||
%patch2 -p1 -b .aarch64
|
||||
|
||||
%build
|
||||
export CFLAGS="%{optflags}"
|
||||
|
|
@ -57,6 +59,9 @@ export CFLAGS="%{optflags}"
|
|||
%{_mandir}/man1/j2a*
|
||||
|
||||
%changelog
|
||||
* Sun Oct 26 2014 Peter Robinson <pbrobinson@fedoraproject.org> 8-8
|
||||
- Add patch to fix ftbfs on aarch64
|
||||
|
||||
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue