[gnome-build-meta/mcatanzaro/webkitgtk-2.29.4: 9/9] sdk/WebKitGTK.bst: add patch to fix build on ARM




commit faede49b9ebe322bf691e9ecc579608fafb5fdb9
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Mon Aug 3 13:55:53 2020 -0500

    sdk/WebKitGTK.bst: add patch to fix build on ARM

 elements/sdk/WebKitGTK.bst          |  2 ++
 files/webkitgtk/webkit-214966.patch | 16 ++++++++++++++++
 2 files changed, 18 insertions(+)
---
diff --git a/elements/sdk/WebKitGTK.bst b/elements/sdk/WebKitGTK.bst
index 45e9d930..bb849161 100644
--- a/elements/sdk/WebKitGTK.bst
+++ b/elements/sdk/WebKitGTK.bst
@@ -7,6 +7,8 @@ sources:
   path: files/webkitgtk/toolchain.i686
 - kind: local
   path: files/webkitgtk/toolchain.arm
+- kind: patch
+  path: files/webkitgtk/webkit-214966.patch
 
 build-depends:
 - freedesktop-sdk.bst:components/gperf.bst
diff --git a/files/webkitgtk/webkit-214966.patch b/files/webkitgtk/webkit-214966.patch
new file mode 100644
index 00000000..138057cd
--- /dev/null
+++ b/files/webkitgtk/webkit-214966.patch
@@ -0,0 +1,16 @@
+--- a/Source/JavaScriptCore/llint/LowLevelInterpreter32_64.asm 
++++ a/Source/JavaScriptCore/llint/LowLevelInterpreter32_64.asm 
+@@ -332,7 +332,12 @@ macro doVMEntry(makeCall)
+     move UndefinedTag, r1
+     move 0, r0
+ 
+-    subp cfr, CalleeRegisterSaveSize, sp
++    if ARMv7
++        subp cfr, CalleeRegisterSaveSize, t3
++        move t3, sp
++    else
++        subp cfr, CalleeRegisterSaveSize, sp
++    end
+     popCalleeSaves()
+     functionEpilogue()
+     ret


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]