diff options
Diffstat (limited to 'meta/recipes-devtools/strace/strace/0008-replace-struct-ucontext-with-ucontext_t.patch')
-rw-r--r-- | meta/recipes-devtools/strace/strace/0008-replace-struct-ucontext-with-ucontext_t.patch | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/meta/recipes-devtools/strace/strace/0008-replace-struct-ucontext-with-ucontext_t.patch b/meta/recipes-devtools/strace/strace/0008-replace-struct-ucontext-with-ucontext_t.patch deleted file mode 100644 index 1985d8104d..0000000000 --- a/meta/recipes-devtools/strace/strace/0008-replace-struct-ucontext-with-ucontext_t.patch +++ /dev/null | |||
@@ -1,31 +0,0 @@ | |||
1 | From 07f71a12cb88919c6113284fc43bf4967e5e2bc1 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Wed, 28 Jun 2017 11:36:57 -0700 | ||
4 | Subject: [PATCH 8/8] replace struct ucontext with ucontext_t | ||
5 | |||
6 | glibc >= 2.26 has dropped the tag struct ucontext | ||
7 | from ucontext_t type | ||
8 | |||
9 | Upstream-Status: Submitted | ||
10 | |||
11 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
12 | --- | ||
13 | linux/arm/arch_sigreturn.c | 2 +- | ||
14 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
15 | |||
16 | diff --git a/linux/arm/arch_sigreturn.c b/linux/arm/arch_sigreturn.c | ||
17 | index b60dad8..a2b7100 100644 | ||
18 | --- a/linux/arm/arch_sigreturn.c | ||
19 | +++ b/linux/arm/arch_sigreturn.c | ||
20 | @@ -9,7 +9,7 @@ arch_sigreturn(struct tcb *tcp) | ||
21 | #ifdef AARCH64 | ||
22 | tcp->currpers == 0 ? | ||
23 | (*aarch64_sp_ptr + SIZEOF_STRUCT_SIGINFO + | ||
24 | - offsetof(struct ucontext, uc_sigmask)) : | ||
25 | + offsetof(ucontext_t, uc_sigmask)) : | ||
26 | #endif | ||
27 | (*arm_sp_ptr + | ||
28 | OFFSETOF_STRUCT_UCONTEXT_UC_SIGMASK); | ||
29 | -- | ||
30 | 2.13.2 | ||
31 | |||