summaryrefslogtreecommitdiffstats
path: root/package/webkitgtk/0002-bmalloc-Failure-to-build-when-the-compiler-specifica.patch
diff options
context:
space:
mode:
authorAdrián Pérez de Castro <aperez@igalia.com>2017-07-29 16:16:39 +0300
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-07-29 15:34:04 +0200
commit3e4efb30f3bf96cad33e2f8982d469803dded145 (patch)
treedec9ed3430c371624589a43dc8712708e52b445c /package/webkitgtk/0002-bmalloc-Failure-to-build-when-the-compiler-specifica.patch
parent3cd8023c73cef082ccaca86d7bb43ec7ec7ce56e (diff)
downloadbuildroot-3e4efb30f3bf96cad33e2f8982d469803dded145.tar.gz
buildroot-3e4efb30f3bf96cad33e2f8982d469803dded145.zip
webkitgtk: Add patches which allow building for ARMv8-A
The two added patches allow building WebKitGTK+ when the compiler scpecifically targets ARMv8-A, and reports as such be pre-defining __ARCH_ARM_8A__ instead of just __ARCH_ARM_8__. Both patches were pulled from the corresponding upstream bug reports and edited to remove the conflicting parts which edit the ChangeLog files. Signed-off-by: Adrian Perez de Castro <aperez@igalia.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/webkitgtk/0002-bmalloc-Failure-to-build-when-the-compiler-specifica.patch')
-rw-r--r--package/webkitgtk/0002-bmalloc-Failure-to-build-when-the-compiler-specifica.patch36
1 files changed, 36 insertions, 0 deletions
diff --git a/package/webkitgtk/0002-bmalloc-Failure-to-build-when-the-compiler-specifica.patch b/package/webkitgtk/0002-bmalloc-Failure-to-build-when-the-compiler-specifica.patch
new file mode 100644
index 0000000000..e1623bffa0
--- /dev/null
+++ b/package/webkitgtk/0002-bmalloc-Failure-to-build-when-the-compiler-specifica.patch
@@ -0,0 +1,36 @@
+From 07dab7fe552c53e7840e34d3c8bb1cc43a921706 Mon Sep 17 00:00:00 2001
+From: "aperez@igalia.com"
+ <aperez@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
+Date: Wed, 12 Jul 2017 18:43:36 +0000
+Subject: [PATCH] bmalloc: Failure to build when the compiler specifically
+ targets ARMv8-A / defines __ARM_ARCH_8A__
+ https://bugs.webkit.org/show_bug.cgi?id=174424
+
+Reviewed by Michael Catanzaro.
+
+* bmalloc/BPlatform.h: Also check for __ARCH_ARM_8A__ to detect ARMv8.
+
+Signed-off-by: Adrian Perez de Castro <aperez@igalia.com>
+
+git-svn-id: http://svn.webkit.org/repository/webkit/trunk@219416 268f45cc-cd09-0410-ab3c-d52691b4dbfc
+---
+ Source/bmalloc/bmalloc/BPlatform.h | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/Source/bmalloc/bmalloc/BPlatform.h b/Source/bmalloc/bmalloc/BPlatform.h
+index 8d768db63fb..400143a63fb 100644
+--- a/Source/bmalloc/bmalloc/BPlatform.h
++++ b/Source/bmalloc/bmalloc/BPlatform.h
+@@ -120,7 +120,8 @@
+ || defined(__ARM_ARCH_7S__)
+ #define BARM_ARCH_VERSION 7
+
+-#elif defined(__ARM_ARCH_8__)
++#elif defined(__ARM_ARCH_8__) \
++|| defined(__ARM_ARCH_8A__)
+ #define BARM_ARCH_VERSION 8
+
+ /* MSVC sets _M_ARM */
+--
+2.13.3
+
OpenPOWER on IntegriCloud