diff options
author | Khem Raj <raj.khem@gmail.com> | 2019-07-23 19:43:45 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-07-26 08:41:38 +0100 |
commit | 3ab89fa06f2ef974eee2734ab582f62c98e0020e (patch) | |
tree | 9c306beb8d71b12048e245ec337025d0c287d4fa /meta/recipes-devtools/strace/strace/0001-tests-sigaction-Check-for-mips-and-alpha-before-usin.patch | |
parent | ae4ceea4feb5f52d2784707eb30d1f165d2fb9cf (diff) | |
download | poky-3ab89fa06f2ef974eee2734ab582f62c98e0020e.tar.gz |
strace: Upgrade to 5.2
License-Updtate: Copyright years changed
https://github.com/strace/strace/commit/4b4a0e5a6e74e16dc2bb9b38d81415d9f57425d2#diff-7116ef0705885343c9e1b2171a06be0e
Drop backport patch for mips o32 build fix
Refresh patches to apply on 5.2
(From OE-Core rev: abeb32772b8b3a144e468e5a27b1a31f646317e4)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/strace/strace/0001-tests-sigaction-Check-for-mips-and-alpha-before-usin.patch')
-rw-r--r-- | meta/recipes-devtools/strace/strace/0001-tests-sigaction-Check-for-mips-and-alpha-before-usin.patch | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/meta/recipes-devtools/strace/strace/0001-tests-sigaction-Check-for-mips-and-alpha-before-usin.patch b/meta/recipes-devtools/strace/strace/0001-tests-sigaction-Check-for-mips-and-alpha-before-usin.patch index becee79d1a..95d85bf34a 100644 --- a/meta/recipes-devtools/strace/strace/0001-tests-sigaction-Check-for-mips-and-alpha-before-usin.patch +++ b/meta/recipes-devtools/strace/strace/0001-tests-sigaction-Check-for-mips-and-alpha-before-usin.patch | |||
@@ -19,16 +19,14 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
19 | tests/sigaction.c | 2 +- | 19 | tests/sigaction.c | 2 +- |
20 | 1 file changed, 1 insertion(+), 1 deletion(-) | 20 | 1 file changed, 1 insertion(+), 1 deletion(-) |
21 | 21 | ||
22 | diff --git a/tests/sigaction.c b/tests/sigaction.c | ||
23 | index 95be197..54819f9 100644 | ||
24 | --- a/tests/sigaction.c | 22 | --- a/tests/sigaction.c |
25 | +++ b/tests/sigaction.c | 23 | +++ b/tests/sigaction.c |
26 | @@ -156,7 +156,7 @@ main(void) | 24 | @@ -156,7 +156,7 @@ main(void) |
27 | sigdelset(mask.libc, SIGHUP); | 25 | sigdelset(mask.libc, SIGHUP); |
28 | 26 | ||
29 | memcpy(new_act->mask, mask.old, sizeof(mask.old)); | 27 | memcpy(new_act->mask, mask.old, sizeof(mask.old)); |
30 | -#ifdef SA_RESTORER | 28 | -# ifdef SA_RESTORER |
31 | +#if defined(SA_RESTORER) && !defined(MIPS) && !defined(ALPHA) | 29 | +#if defined(SA_RESTORER) && !defined(MIPS) && !defined(ALPHA) |
32 | new_act->flags = SA_RESTORER; | 30 | new_act->flags = SA_RESTORER; |
33 | new_act->restorer = (unsigned long) 0xdeadfacecafef00dULL; | 31 | new_act->restorer = (unsigned long) 0xdeadfacecafef00dULL; |
34 | # define SA_RESTORER_FMT ", sa_flags=SA_RESTORER, sa_restorer=%#lx" | 32 | # define SA_RESTORER_FMT ", sa_flags=SA_RESTORER, sa_restorer=%#lx" |