aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Arnold <nerdboy@gentoo.org>2017-06-15 12:29:30 -0700
committerSteve Arnold <nerdboy@gentoo.org>2017-06-15 12:29:30 -0700
commit84a37099782733d84289982ffc431f3d5369dc4c (patch)
treee10f8161056b497a809196118f8f8f92706c68ac /www-client/firefox/files/arm64-1-define-ARCH_CPU_ARM64.patch
parentdev-qt/qt*: clean up older/crufty versions of qt5 (diff)
downloadarm-84a37099782733d84289982ffc431f3d5369dc4c.tar.gz
arm-84a37099782733d84289982ffc431f3d5369dc4c.tar.bz2
arm-84a37099782733d84289982ffc431f3d5369dc4c.zip
Playing with firefox on arm - 52 works (use -skia) but 53 does not :/
* note this needs custom mozconfig eclass Signed-off-by: Steve Arnold <nerdboy@gentoo.org>
Diffstat (limited to 'www-client/firefox/files/arm64-1-define-ARCH_CPU_ARM64.patch')
-rw-r--r--www-client/firefox/files/arm64-1-define-ARCH_CPU_ARM64.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/www-client/firefox/files/arm64-1-define-ARCH_CPU_ARM64.patch b/www-client/firefox/files/arm64-1-define-ARCH_CPU_ARM64.patch
new file mode 100644
index 0000000..e47aafa
--- /dev/null
+++ b/www-client/firefox/files/arm64-1-define-ARCH_CPU_ARM64.patch
@@ -0,0 +1,26 @@
+From: Makoto Kato <m_kato@ga2.so-net.ne.jp>
+Date: Sun, 28 Feb 2016 19:26:18 +0900
+Subject: Bug 1250403 - Part 1. Define ARCH_CPU_ARM64 instead of
+ ARCH_CPU_AARCH64. r=billm
+
+Chromium defines ARCH_CPU_ARM64 and ARCH_CPU_ARM_FAMILY for aarch64. So we should use it instead. Because webrtc and sandbox already define it
+
+MozReview-Commit-ID: C7GYnpRryhA
+---
+ ipc/chromium/src/build/build_config.h | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/ipc/chromium/src/build/build_config.h b/ipc/chromium/src/build/build_config.h
+index 7a4938e..dcec00d 100644
+--- a/ipc/chromium/src/build/build_config.h
++++ b/ipc/chromium/src/build/build_config.h
+@@ -109,7 +109,8 @@
+ #define ARCH_CPU_ALPHA 1
+ #define ARCH_CPU_64_BITS 1
+ #elif defined(__aarch64__)
+-#define ARCH_CPU_AARCH64 1
++#define ARCH_CPU_ARM_FAMILY 1
++#define ARCH_CPU_ARM64 1
+ #define ARCH_CPU_64_BITS 1
+ #else
+ #error Please add support for your architecture in build/build_config.h