diff options
author | Khem Raj <raj.khem@gmail.com> | 2017-03-06 23:13:44 -0800 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2017-03-11 17:56:43 +0100 |
commit | 073fc4e476fbc875745e1490ca85de539967be52 (patch) | |
tree | 8dc0dc513275e6ad208b24403c579ef61c1b1e14 | |
parent | a3a54983e9c91666b2fd774fbb41553e24fe8135 (diff) | |
download | meta-openembedded-073fc4e476fbc875745e1490ca85de539967be52.tar.gz |
a2jmidid: Fix build on aarch64
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r-- | meta-oe/recipes-multimedia/jack/a2jmidid/0002-aarch64.patch | 31 | ||||
-rw-r--r-- | meta-oe/recipes-multimedia/jack/a2jmidid_8.bb | 1 |
2 files changed, 32 insertions, 0 deletions
diff --git a/meta-oe/recipes-multimedia/jack/a2jmidid/0002-aarch64.patch b/meta-oe/recipes-multimedia/jack/a2jmidid/0002-aarch64.patch new file mode 100644 index 000000000..b344f5427 --- /dev/null +++ b/meta-oe/recipes-multimedia/jack/a2jmidid/0002-aarch64.patch | |||
@@ -0,0 +1,31 @@ | |||
1 | Consider compiler define for aarch64 | ||
2 | |||
3 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
4 | Upstream-Status:Pending | ||
5 | |||
6 | Index: a2jmidid-8/sigsegv.c | ||
7 | =================================================================== | ||
8 | --- a2jmidid-8.orig/sigsegv.c | ||
9 | +++ a2jmidid-8/sigsegv.c | ||
10 | @@ -91,18 +91,18 @@ static void signal_segv(int signum, sigi | ||
11 | a2j_error("info.si_errno = %d", info->si_errno); | ||
12 | a2j_error("info.si_code = %d (%s)", info->si_code, si_codes[info->si_code]); | ||
13 | a2j_error("info.si_addr = %p", info->si_addr); | ||
14 | -#if !defined(__alpha__) && !defined(__ia64__) && !defined(__FreeBSD_kernel__) && !defined(__arm__) && !defined(__hppa__) && !defined(__sh__) | ||
15 | +#if !defined(__alpha__) && !defined(__ia64__) && !defined(__FreeBSD_kernel__) && !defined(__arm__) && !defined(__hppa__) && !defined(__sh__) && !defined(__aarch64__) | ||
16 | for(i = 0; i < NGREG; i++) | ||
17 | a2j_error("reg[%02d] = 0x" REGFORMAT, i, | ||
18 | #if defined(__powerpc__) | ||
19 | ucontext->uc_mcontext.uc_regs[i] | ||
20 | -#elif defined(__sparc__) && defined(__arch64__) | ||
21 | +#elif defined(__sparc__) || defined(__arch64__) | ||
22 | ucontext->uc_mcontext.mc_gregs[i] | ||
23 | #else | ||
24 | ucontext->uc_mcontext.gregs[i] | ||
25 | #endif | ||
26 | ); | ||
27 | -#endif /* alpha, ia64, kFreeBSD, arm, hppa */ | ||
28 | +#endif /* alpha, ia64, kFreeBSD, arm, hppa aarch64 */ | ||
29 | |||
30 | #if defined(SIGSEGV_STACK_X86) || defined(SIGSEGV_STACK_IA64) | ||
31 | # if defined(SIGSEGV_STACK_IA64) | ||
diff --git a/meta-oe/recipes-multimedia/jack/a2jmidid_8.bb b/meta-oe/recipes-multimedia/jack/a2jmidid_8.bb index 0204fb904..a520f98e1 100644 --- a/meta-oe/recipes-multimedia/jack/a2jmidid_8.bb +++ b/meta-oe/recipes-multimedia/jack/a2jmidid_8.bb | |||
@@ -11,6 +11,7 @@ DEPENDS = "alsa-lib jack dbus" | |||
11 | SRC_URI = " \ | 11 | SRC_URI = " \ |
12 | http://download.gna.org/${BPN}/${BPN}-${PV}.tar.bz2 \ | 12 | http://download.gna.org/${BPN}/${BPN}-${PV}.tar.bz2 \ |
13 | file://0001-wscript-add-pthread-library-dependency-to-fix-linkin.patch \ | 13 | file://0001-wscript-add-pthread-library-dependency-to-fix-linkin.patch \ |
14 | file://0002-aarch64.patch \ | ||
14 | " | 15 | " |
15 | SRC_URI[md5sum] = "9cf4edbc3ad2ddeeaf6c8c1791ff3ddd" | 16 | SRC_URI[md5sum] = "9cf4edbc3ad2ddeeaf6c8c1791ff3ddd" |
16 | SRC_URI[sha256sum] = "2a9635f62aabc59edb54ada07048dd47e896b90caff94bcee710d3582606f55f" | 17 | SRC_URI[sha256sum] = "2a9635f62aabc59edb54ada07048dd47e896b90caff94bcee710d3582606f55f" |