summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-sato/webkit/webkit-gtk-1.8.3/aarch64.patch41
-rw-r--r--meta/recipes-sato/webkit/webkit-gtk_1.8.3.bb1
2 files changed, 42 insertions, 0 deletions
diff --git a/meta/recipes-sato/webkit/webkit-gtk-1.8.3/aarch64.patch b/meta/recipes-sato/webkit/webkit-gtk-1.8.3/aarch64.patch
new file mode 100644
index 0000000000..a76b0ba2b6
--- /dev/null
+++ b/meta/recipes-sato/webkit/webkit-gtk-1.8.3/aarch64.patch
@@ -0,0 +1,41 @@
1Upstream-Status: Pending
2Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
3Index: webkit-1.8.3/Source/JavaScriptCore/wtf/Platform.h
4===================================================================
5--- webkit-1.8.3.orig/Source/JavaScriptCore/wtf/Platform.h 2013-06-12 00:58:14.000000000 -0700
6+++ webkit-1.8.3/Source/JavaScriptCore/wtf/Platform.h 2013-06-12 00:59:18.764056782 -0700
7@@ -304,6 +304,11 @@
8 #define WTF_CPU_NEEDS_ALIGNED_ACCESS 1
9 #endif
10
11+/* CPU(AARCH64) - Aarch64 */
12+#if defined(__aarch64__)
13+#define WTF_CPU_AARCH64 1
14+#endif
15+
16 /* ==== OS() - underlying operating system; only to be used for mandated low-level services like
17 virtual memory, not to choose a GUI toolkit ==== */
18
19@@ -905,7 +910,8 @@
20 || CPU(SPARC64) \
21 || CPU(S390X) \
22 || CPU(MIPS64) \
23- || CPU(PPC64)
24+ || CPU(PPC64) \
25+ || CPU(AARCH64)
26 #define WTF_USE_JSVALUE64 1
27 #else
28 #define WTF_USE_JSVALUE32_64 1
29Index: webkit-1.8.3/Source/JavaScriptCore/wtf/dtoa/utils.h
30===================================================================
31--- webkit-1.8.3.orig/Source/JavaScriptCore/wtf/dtoa/utils.h 2013-06-12 00:57:22.000000000 -0700
32+++ webkit-1.8.3/Source/JavaScriptCore/wtf/dtoa/utils.h 2013-06-12 00:58:28.340056029 -0700
33@@ -49,7 +49,7 @@
34 defined(__ARMEL__) || \
35 defined(_MIPS_ARCH_MIPS32R2)
36 #define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1
37-#elif CPU(MIPS) || CPU(PPC) || CPU(PPC64) || OS(WINCE) || CPU(SH4) || CPU(S390) || CPU(S390X) || CPU(IA64) || CPU(SPARC) || CPU(ALPHA) || CPU(MIPS64)
38+#elif CPU(MIPS) || CPU(PPC) || CPU(PPC64) || OS(WINCE) || CPU(SH4) || CPU(S390) || CPU(S390X) || CPU(IA64) || CPU(SPARC) || CPU(ALPHA) || CPU(MIPS64) || CPU(AARCH64)
39 #define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1
40 #elif defined(_M_IX86) || defined(__i386__)
41 #if defined(_WIN32)
diff --git a/meta/recipes-sato/webkit/webkit-gtk_1.8.3.bb b/meta/recipes-sato/webkit/webkit-gtk_1.8.3.bb
index 3be6dbadf8..ed98b30e39 100644
--- a/meta/recipes-sato/webkit/webkit-gtk_1.8.3.bb
+++ b/meta/recipes-sato/webkit/webkit-gtk_1.8.3.bb
@@ -25,6 +25,7 @@ SRC_URI = "\
25 file://bison-2.6.patch \ 25 file://bison-2.6.patch \
26 file://obsolete_automake_macros.patch \ 26 file://obsolete_automake_macros.patch \
27 file://0001-Enable-mips64-build.patch \ 27 file://0001-Enable-mips64-build.patch \
28 file://aarch64.patch \
28 " 29 "
29 30
30SRC_URI[md5sum] = "dcbf9d5e2e6391f857c29a57528b32a6" 31SRC_URI[md5sum] = "dcbf9d5e2e6391f857c29a57528b32a6"