summaryrefslogtreecommitdiffstats
path: root/recipes-qt/qt5/qtwebengine/0010-chromium-musl-Match-syscalls-to-match-musl.patch
diff options
context:
space:
mode:
authorSamuli Piippo <samuli.piippo@qt.io>2017-06-09 09:34:09 +0300
committerMartin Jansa <Martin.Jansa@gmail.com>2017-08-20 19:30:05 +0200
commit969f1f80bf255498abbec6886d443670c20a79c8 (patch)
tree45a65f19da61868c2fe71669fb4b7d29b374edac /recipes-qt/qt5/qtwebengine/0010-chromium-musl-Match-syscalls-to-match-musl.patch
parent648f7b0a2eb202d4378ce50ae566b6ca450dd010 (diff)
downloadmeta-qt5-969f1f80bf255498abbec6886d443670c20a79c8.tar.gz
Upgrade to Qt 5.9.0
* adapt QtWebEngine recipe to use GN instead of GYP * add QtRemoteObjects and QtWebView as a new Qt modules * update available QtBase configure arguments * remove obsolete patches * patch all .pc files to remove build paths * include generated QML cache files in packages * the patch "configure paths for target qmake properly" could not be applied anymore and support must be done differently * QtWebEngine now requires gcc-multilib to be installed on the host system, because the host tools are built to the same bitness as the target (arm -> x86, aarch64 -> x86-64) * refresh the patches to match with b5.9* branches on: https://github.com/meta-qt5/qtbase https://github.com/meta-qt5/qtwebengine and 56-based branch on https://github.com/meta-qt5/qtwebengine-chromium Signed-off-by: Samuli Piippo <samuli.piippo@qt.io> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'recipes-qt/qt5/qtwebengine/0010-chromium-musl-Match-syscalls-to-match-musl.patch')
-rw-r--r--recipes-qt/qt5/qtwebengine/0010-chromium-musl-Match-syscalls-to-match-musl.patch44
1 files changed, 44 insertions, 0 deletions
diff --git a/recipes-qt/qt5/qtwebengine/0010-chromium-musl-Match-syscalls-to-match-musl.patch b/recipes-qt/qt5/qtwebengine/0010-chromium-musl-Match-syscalls-to-match-musl.patch
new file mode 100644
index 00000000..235e2cc8
--- /dev/null
+++ b/recipes-qt/qt5/qtwebengine/0010-chromium-musl-Match-syscalls-to-match-musl.patch
@@ -0,0 +1,44 @@
1From e4d99e001315f1bb34e6ff6531c0a528640b76d8 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 7 Jul 2017 15:24:49 -0700
4Subject: [PATCH] chromium: musl: Match syscalls to match musl
5
6Signed-off-by: Khem Raj <raj.khem@gmail.com>
7---
8 chromium/third_party/lss/linux_syscall_support.h | 16 ++++++++++++++++
9 1 file changed, 16 insertions(+)
10
11diff --git a/chromium/third_party/lss/linux_syscall_support.h b/chromium/third_party/lss/linux_syscall_support.h
12index 9dbd2391b2..a715de177c 100644
13--- a/chromium/third_party/lss/linux_syscall_support.h
14+++ b/chromium/third_party/lss/linux_syscall_support.h
15@@ -793,6 +793,14 @@ struct kernel_statfs {
16 #endif
17
18
19+#undef stat64
20+#undef fstat64
21+
22+#ifndef __NR_fstatat
23+#define __NR_fstatat __NR_fstatat64
24+#endif
25+
26+
27 #if defined(__x86_64__)
28 #ifndef ARCH_SET_GS
29 #define ARCH_SET_GS 0x1001
30@@ -1210,6 +1218,14 @@ struct kernel_statfs {
31 #ifndef __NR_fallocate
32 #define __NR_fallocate 285
33 #endif
34+
35+#ifndef __NR_pread
36+#define __NR_pread __NR_pread64
37+#endif
38+#ifndef __NR_pwrite
39+#define __NR_pwrite __NR_pwrite64
40+#endif
41+
42 /* End of x86-64 definitions */
43 #elif defined(__mips__)
44 #if _MIPS_SIM == _MIPS_SIM_ABI32