summaryrefslogtreecommitdiffstats
path: root/meta/recipes-sato/webkit/webkitgtk/ppc-musl-fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-sato/webkit/webkitgtk/ppc-musl-fix.patch')
-rw-r--r--meta/recipes-sato/webkit/webkitgtk/ppc-musl-fix.patch12
1 files changed, 6 insertions, 6 deletions
diff --git a/meta/recipes-sato/webkit/webkitgtk/ppc-musl-fix.patch b/meta/recipes-sato/webkit/webkitgtk/ppc-musl-fix.patch
index 5f58e4953e..a1ad248aac 100644
--- a/meta/recipes-sato/webkit/webkitgtk/ppc-musl-fix.patch
+++ b/meta/recipes-sato/webkit/webkitgtk/ppc-musl-fix.patch
@@ -11,16 +11,16 @@ Upstream-Status: Pending
11 11
12Signed-off-by: Khem Raj <raj.khem@gmail.com> 12Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 13
14Index: webkitgtk-2.12.3/Source/JavaScriptCore/heap/MachineStackMarker.cpp 14Index: webkitgtk-2.16.3/Source/JavaScriptCore/heap/MachineStackMarker.cpp
15=================================================================== 15===================================================================
16--- webkitgtk-2.12.3.orig/Source/JavaScriptCore/heap/MachineStackMarker.cpp 16--- webkitgtk-2.16.3.orig/Source/JavaScriptCore/heap/MachineStackMarker.cpp
17+++ webkitgtk-2.12.3/Source/JavaScriptCore/heap/MachineStackMarker.cpp 17+++ webkitgtk-2.16.3/Source/JavaScriptCore/heap/MachineStackMarker.cpp
18@@ -86,7 +86,7 @@ static void pthreadSignalHandlerSuspendR 18@@ -88,7 +88,7 @@ static void pthreadSignalHandlerSuspendR
19 } 19 }
20 20
21 ucontext_t* userContext = static_cast<ucontext_t*>(ucontext); 21 ucontext_t* userContext = static_cast<ucontext_t*>(ucontext);
22-#if CPU(PPC) 22-#if CPU(PPC)
23+#if CPU(PPC) && defined(__GLIBC__) 23+#if CPU(PPC) && defined(__GLIBC__)
24 thread->suspendedMachineContext = *userContext->uc_mcontext.uc_regs; 24 threadData->suspendedMachineContext = *userContext->uc_mcontext.uc_regs;
25 #else 25 #else
26 thread->suspendedMachineContext = userContext->uc_mcontext; 26 threadData->suspendedMachineContext = userContext->uc_mcontext;