diff options
-rw-r--r-- | recipes-qt/qt5/nativesdk-qtbase_git.bb | 3 | ||||
-rw-r--r-- | recipes-qt/qt5/qtbase-native_git.bb | 5 | ||||
-rw-r--r-- | recipes-qt/qt5/qtbase/0020-Fix-qbswap-calls-for-Big-Endian-targets.patch | 28 | ||||
-rw-r--r-- | recipes-qt/qt5/qtbase/0021-Always-build-uic-and-qvkgen.patch (renamed from recipes-qt/qt5/qtbase/0020-Always-build-uic-and-qvkgen.patch) | 2 | ||||
-rw-r--r-- | recipes-qt/qt5/qtbase/0022-Bootstrap-without-linkat-feature.patch (renamed from recipes-qt/qt5/qtbase/0021-Bootstrap-without-linkat-feature.patch) | 2 | ||||
-rw-r--r-- | recipes-qt/qt5/qtbase_git.bb | 3 |
6 files changed, 37 insertions, 6 deletions
diff --git a/recipes-qt/qt5/nativesdk-qtbase_git.bb b/recipes-qt/qt5/nativesdk-qtbase_git.bb index dc1fc41b..e3e063a6 100644 --- a/recipes-qt/qt5/nativesdk-qtbase_git.bb +++ b/recipes-qt/qt5/nativesdk-qtbase_git.bb | |||
@@ -44,11 +44,12 @@ SRC_URI += "\ | |||
44 | file://0017-Define-QMAKE_CXX.COMPILER_MACROS-for-clang-on-linux.patch \ | 44 | file://0017-Define-QMAKE_CXX.COMPILER_MACROS-for-clang-on-linux.patch \ |
45 | file://0018-Fix-compile-issue-with-gcc-9.patch \ | 45 | file://0018-Fix-compile-issue-with-gcc-9.patch \ |
46 | file://0019-Fix-compilation-of-qendian-s-qswap-specializations-o.patch \ | 46 | file://0019-Fix-compilation-of-qendian-s-qswap-specializations-o.patch \ |
47 | file://0022-Fix-qbswap-calls-for-Big-Endian-targets.patch \ | ||
47 | " | 48 | " |
48 | 49 | ||
49 | # common for qtbase-native and nativesdk-qtbase | 50 | # common for qtbase-native and nativesdk-qtbase |
50 | # Patches from https://github.com/meta-qt5/qtbase/commits/b5.12-native | 51 | # Patches from https://github.com/meta-qt5/qtbase/commits/b5.12-native |
51 | # 5.12.meta-qt5-native.4 | 52 | # 5.12.meta-qt5-native.5 |
52 | SRC_URI += " \ | 53 | SRC_URI += " \ |
53 | file://0020-Always-build-uic-and-qvkgen.patch \ | 54 | file://0020-Always-build-uic-and-qvkgen.patch \ |
54 | " | 55 | " |
diff --git a/recipes-qt/qt5/qtbase-native_git.bb b/recipes-qt/qt5/qtbase-native_git.bb index 9f0fca51..3ab6d5e9 100644 --- a/recipes-qt/qt5/qtbase-native_git.bb +++ b/recipes-qt/qt5/qtbase-native_git.bb | |||
@@ -18,7 +18,7 @@ require qt5-git.inc | |||
18 | 18 | ||
19 | # common for qtbase-native, qtbase-nativesdk and qtbase | 19 | # common for qtbase-native, qtbase-nativesdk and qtbase |
20 | # Patches from https://github.com/meta-qt5/qtbase/commits/b5.12-shared | 20 | # Patches from https://github.com/meta-qt5/qtbase/commits/b5.12-shared |
21 | # 5.12.meta-qt5-shared.4 | 21 | # 5.12.meta-qt5-shared.5 |
22 | SRC_URI += "\ | 22 | SRC_URI += "\ |
23 | file://0001-Add-linux-oe-g-platform.patch \ | 23 | file://0001-Add-linux-oe-g-platform.patch \ |
24 | file://0002-cmake-Use-OE_QMAKE_PATH_EXTERNAL_HOST_BINS.patch \ | 24 | file://0002-cmake-Use-OE_QMAKE_PATH_EXTERNAL_HOST_BINS.patch \ |
@@ -39,11 +39,12 @@ SRC_URI += "\ | |||
39 | file://0017-Define-QMAKE_CXX.COMPILER_MACROS-for-clang-on-linux.patch \ | 39 | file://0017-Define-QMAKE_CXX.COMPILER_MACROS-for-clang-on-linux.patch \ |
40 | file://0018-Fix-compile-issue-with-gcc-9.patch \ | 40 | file://0018-Fix-compile-issue-with-gcc-9.patch \ |
41 | file://0019-Fix-compilation-of-qendian-s-qswap-specializations-o.patch \ | 41 | file://0019-Fix-compilation-of-qendian-s-qswap-specializations-o.patch \ |
42 | file://0022-Fix-qbswap-calls-for-Big-Endian-targets.patch \ | ||
42 | " | 43 | " |
43 | 44 | ||
44 | # common for qtbase-native and nativesdk-qtbase | 45 | # common for qtbase-native and nativesdk-qtbase |
45 | # Patches from https://github.com/meta-qt5/qtbase/commits/b5.12-native | 46 | # Patches from https://github.com/meta-qt5/qtbase/commits/b5.12-native |
46 | # 5.12.meta-qt5-native.4 | 47 | # 5.12.meta-qt5-native.5 |
47 | SRC_URI += " \ | 48 | SRC_URI += " \ |
48 | file://0020-Always-build-uic-and-qvkgen.patch \ | 49 | file://0020-Always-build-uic-and-qvkgen.patch \ |
49 | " | 50 | " |
diff --git a/recipes-qt/qt5/qtbase/0020-Fix-qbswap-calls-for-Big-Endian-targets.patch b/recipes-qt/qt5/qtbase/0020-Fix-qbswap-calls-for-Big-Endian-targets.patch new file mode 100644 index 00000000..4169fb76 --- /dev/null +++ b/recipes-qt/qt5/qtbase/0020-Fix-qbswap-calls-for-Big-Endian-targets.patch | |||
@@ -0,0 +1,28 @@ | |||
1 | From c94a6510ae983e46f60e0cfb1b0f20229c990d93 Mon Sep 17 00:00:00 2001 | ||
2 | From: Ville Voutilainen <ville.voutilainen@qt.io> | ||
3 | Date: Fri, 4 Jan 2019 09:35:40 +0200 | ||
4 | Subject: [PATCH] Fix qbswap calls for Big Endian targets | ||
5 | |||
6 | Upstream-Status: Backport | ||
7 | Task-number: QTBUG-71945 | ||
8 | Change-Id: I5356f8e32d00ea591b1f65cdd4111276fcf876ac | ||
9 | --- | ||
10 | src/corelib/global/qendian.h | 4 ++-- | ||
11 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
12 | |||
13 | diff --git a/src/corelib/global/qendian.h b/src/corelib/global/qendian.h | ||
14 | index f2e5833468..615f523888 100644 | ||
15 | --- a/src/corelib/global/qendian.h | ||
16 | +++ b/src/corelib/global/qendian.h | ||
17 | @@ -204,9 +204,9 @@ template <typename T> inline Q_DECL_CONSTEXPR T qToBigEndian(T source) | ||
18 | template <typename T> inline Q_DECL_CONSTEXPR T qFromBigEndian(T source) | ||
19 | { return source; } | ||
20 | template <typename T> inline Q_DECL_CONSTEXPR T qToLittleEndian(T source) | ||
21 | -{ return qbswap<T>(source); } | ||
22 | +{ return qbswap(source); } | ||
23 | template <typename T> inline Q_DECL_CONSTEXPR T qFromLittleEndian(T source) | ||
24 | -{ return qbswap<T>(source); } | ||
25 | +{ return qbswap(source); } | ||
26 | template <typename T> inline void qToBigEndian(T src, void *dest) | ||
27 | { qToUnaligned<T>(src, dest); } | ||
28 | template <typename T> inline void qToLittleEndian(T src, void *dest) | ||
diff --git a/recipes-qt/qt5/qtbase/0020-Always-build-uic-and-qvkgen.patch b/recipes-qt/qt5/qtbase/0021-Always-build-uic-and-qvkgen.patch index 2d942289..4958d432 100644 --- a/recipes-qt/qt5/qtbase/0020-Always-build-uic-and-qvkgen.patch +++ b/recipes-qt/qt5/qtbase/0021-Always-build-uic-and-qvkgen.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From f8ae183b543b1244fb272f26db330f52e0d53161 Mon Sep 17 00:00:00 2001 | 1 | From 7af04e47ddfb4d285aab6bbb7efb46eb06252ba2 Mon Sep 17 00:00:00 2001 |
2 | From: Martin Jansa <Martin.Jansa@gmail.com> | 2 | From: Martin Jansa <Martin.Jansa@gmail.com> |
3 | Date: Sat, 16 Nov 2013 00:32:30 +0100 | 3 | Date: Sat, 16 Nov 2013 00:32:30 +0100 |
4 | Subject: [PATCH] Always build uic and qvkgen | 4 | Subject: [PATCH] Always build uic and qvkgen |
diff --git a/recipes-qt/qt5/qtbase/0021-Bootstrap-without-linkat-feature.patch b/recipes-qt/qt5/qtbase/0022-Bootstrap-without-linkat-feature.patch index 733e69ac..02ab9900 100644 --- a/recipes-qt/qt5/qtbase/0021-Bootstrap-without-linkat-feature.patch +++ b/recipes-qt/qt5/qtbase/0022-Bootstrap-without-linkat-feature.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 4d5e38f1b5f42d61428b7984f9f4d7f22ebe2a2e Mon Sep 17 00:00:00 2001 | 1 | From 94cfb4e78bf96e8947ed0c91900e463b99857b30 Mon Sep 17 00:00:00 2001 |
2 | From: Samuli Piippo <samuli.piippo@qt.io> | 2 | From: Samuli Piippo <samuli.piippo@qt.io> |
3 | Date: Fri, 24 Nov 2017 15:16:31 +0200 | 3 | Date: Fri, 24 Nov 2017 15:16:31 +0200 |
4 | Subject: [PATCH] Bootstrap without linkat feature | 4 | Subject: [PATCH] Bootstrap without linkat feature |
diff --git a/recipes-qt/qt5/qtbase_git.bb b/recipes-qt/qt5/qtbase_git.bb index 5c967d2f..3d385dd6 100644 --- a/recipes-qt/qt5/qtbase_git.bb +++ b/recipes-qt/qt5/qtbase_git.bb | |||
@@ -14,7 +14,7 @@ LIC_FILES_CHKSUM = " \ | |||
14 | 14 | ||
15 | # common for qtbase-native, qtbase-nativesdk and qtbase | 15 | # common for qtbase-native, qtbase-nativesdk and qtbase |
16 | # Patches from https://github.com/meta-qt5/qtbase/commits/b5.12-shared | 16 | # Patches from https://github.com/meta-qt5/qtbase/commits/b5.12-shared |
17 | # 5.12.meta-qt5-shared.4 | 17 | # 5.12.meta-qt5-shared.5 |
18 | SRC_URI += "\ | 18 | SRC_URI += "\ |
19 | file://0001-Add-linux-oe-g-platform.patch \ | 19 | file://0001-Add-linux-oe-g-platform.patch \ |
20 | file://0002-cmake-Use-OE_QMAKE_PATH_EXTERNAL_HOST_BINS.patch \ | 20 | file://0002-cmake-Use-OE_QMAKE_PATH_EXTERNAL_HOST_BINS.patch \ |
@@ -35,6 +35,7 @@ SRC_URI += "\ | |||
35 | file://0017-Define-QMAKE_CXX.COMPILER_MACROS-for-clang-on-linux.patch \ | 35 | file://0017-Define-QMAKE_CXX.COMPILER_MACROS-for-clang-on-linux.patch \ |
36 | file://0018-Fix-compile-issue-with-gcc-9.patch \ | 36 | file://0018-Fix-compile-issue-with-gcc-9.patch \ |
37 | file://0019-Fix-compilation-of-qendian-s-qswap-specializations-o.patch \ | 37 | file://0019-Fix-compilation-of-qendian-s-qswap-specializations-o.patch \ |
38 | file://0022-Fix-qbswap-calls-for-Big-Endian-targets.patch \ | ||
38 | " | 39 | " |
39 | 40 | ||
40 | 41 | ||