Skip to contentSkip to conversation

qtwebkit: Make qtwebkit support armv BE

PATCH In review Lei Maohui 2 participants 2 messages Jul 27, 2018 – Jul 31, 2018

lore
Share & tools
lore

Lei Maohui

author
#0 lore raw

PATCH 1/1 qtwebkit: Make qtwebkit support armv BE

---
 .../qtwebkit/0001-Fix-build-bug-for-armeb.patch    | 26 ++++++++++++++++++++++
 recipes-qt/qt5/qtwebkit_git.bb                     |  1 +
 2 files changed, 27 insertions(+)
 create mode 100644 recipes-qt/qt5/qtwebkit/0001-Fix-build-bug-for-armeb.patch
recipes-qt/qt5/qtwebkit/0001-Fix-build-bug-for-armeb.patch new file +26 -0
new file mode 100644
index 0000000..9e15205
@@ -0,0 +1,26 @@
+From 21cd85076261611a28d5f0a68828bc2216b8e7fe Mon Sep 17 00:00:00 2001
+From: Lei Maohui <[email protected]>
+Date: Thu, 26 Jul 2018 17:50:32 +0900
+Subject: [PATCH] Fix build bug for armeb.
+
+Signed-off-by: Lei Maohui <[email protected]>
+---
+ Source/WTF/wtf/dtoa/utils.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Source/WTF/wtf/dtoa/utils.h b/Source/WTF/wtf/dtoa/utils.h
+index 298bf4d..7f6c873 100644
+--- a/Source/WTF/wtf/dtoa/utils.h
++++ b/Source/WTF/wtf/dtoa/utils.h
+@@ -46,7 +46,7 @@
+ // disabled.)
+ // On Linux,x86 89255e-22 != Div_double(89255.0/1e22)
+ #if defined(_M_X64) || defined(__x86_64__) || \
+-defined(__ARMEL__) || \
++defined(__arm__) || \
+ defined(_MIPS_ARCH_MIPS32R2)
+ #define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1
+ #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) || CPU(HPPA)
+-- 
+2.7.4
+
recipes-qt/qt5/qtwebkit_git.bb +1 -0
index c8e8328..025f0b1 100644
@@ -31,6 +31,7 @@ ARM_INSTRUCTION_SET_armv7ve = "thumb"
 SRC_URI += "\
     file://0001-qtwebkit-fix-QA-issue-bad-RPATH.patch \
     file://0002-Exclude-backtrace-API-for-non-glibc-libraries.patch \
+    file://0001-Fix-build-bug-for-armeb.patch \
 "
 
 PACKAGECONFIG ??= "gstreamer qtlocation qtmultimedia qtsensors qtwebchannel \
Signature · 1 line
2.7.4
#1 lore raw
Quoted 1 line · Lei Maohui

The commit log inside of the patch file deserves a little more love, it could be improved to describe what it fixes. It also needs the Upstream-Status field.

Please send it as a PR against our meta-qt5's github repository as we moved to it as our way to process patches.

Signature · 3 lines
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9 9981-7854          Mobile: +1 (347) 903-9750