diff options
Diffstat (limited to 'meta/recipes-sato/webkit/webkitgtk/ppc-musl-fix.patch')
-rw-r--r-- | meta/recipes-sato/webkit/webkitgtk/ppc-musl-fix.patch | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/meta/recipes-sato/webkit/webkitgtk/ppc-musl-fix.patch b/meta/recipes-sato/webkit/webkitgtk/ppc-musl-fix.patch deleted file mode 100644 index a1ad248aac..0000000000 --- a/meta/recipes-sato/webkit/webkitgtk/ppc-musl-fix.patch +++ /dev/null | |||
@@ -1,26 +0,0 @@ | |||
1 | ucontext structure is different between musl and glibc for ppc | ||
2 | therefore its not enough just to check for arch alone, we also | ||
3 | need to check for libc type. | ||
4 | |||
5 | Fixes errors like | ||
6 | |||
7 | Source/JavaScriptCore/heap/MachineStackMarker.cpp:90:65: error: 'struct mcontext_t' has no member named 'uc_regs'; did you mean 'gregs'? | ||
8 | thread->suspendedMachineContext = *userContext->uc_mcontext.uc_regs; | ||
9 | |||
10 | Upstream-Status: Pending | ||
11 | |||
12 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
13 | |||
14 | Index: webkitgtk-2.16.3/Source/JavaScriptCore/heap/MachineStackMarker.cpp | ||
15 | =================================================================== | ||
16 | --- webkitgtk-2.16.3.orig/Source/JavaScriptCore/heap/MachineStackMarker.cpp | ||
17 | +++ webkitgtk-2.16.3/Source/JavaScriptCore/heap/MachineStackMarker.cpp | ||
18 | @@ -88,7 +88,7 @@ static void pthreadSignalHandlerSuspendR | ||
19 | } | ||
20 | |||
21 | ucontext_t* userContext = static_cast<ucontext_t*>(ucontext); | ||
22 | -#if CPU(PPC) | ||
23 | +#if CPU(PPC) && defined(__GLIBC__) | ||
24 | threadData->suspendedMachineContext = *userContext->uc_mcontext.uc_regs; | ||
25 | #else | ||
26 | threadData->suspendedMachineContext = userContext->uc_mcontext; | ||