diff options
Diffstat (limited to 'recipes-qt/qt5')
-rw-r--r-- | recipes-qt/qt5/nativesdk-qtbase_git.bb | 1 | ||||
-rw-r--r-- | recipes-qt/qt5/qtbase-native_git.bb | 1 | ||||
-rw-r--r-- | recipes-qt/qt5/qtbase/0020-corelib-Include-sys-types.h-for-uint32_t.patch | 30 | ||||
-rw-r--r-- | recipes-qt/qt5/qtbase_git.bb | 1 |
4 files changed, 33 insertions, 0 deletions
diff --git a/recipes-qt/qt5/nativesdk-qtbase_git.bb b/recipes-qt/qt5/nativesdk-qtbase_git.bb index 57309495..77594b0b 100644 --- a/recipes-qt/qt5/nativesdk-qtbase_git.bb +++ b/recipes-qt/qt5/nativesdk-qtbase_git.bb | |||
@@ -42,6 +42,7 @@ SRC_URI += "\ | |||
42 | file://0015-double-conversion-support-AARCH64EB-and-arm-BE.patch \ | 42 | file://0015-double-conversion-support-AARCH64EB-and-arm-BE.patch \ |
43 | file://0016-Disable-ltcg-for-host_build.patch \ | 43 | file://0016-Disable-ltcg-for-host_build.patch \ |
44 | file://0017-Qt5GuiConfigExtras.cmake.in-cope-with-variable-path-.patch \ | 44 | file://0017-Qt5GuiConfigExtras.cmake.in-cope-with-variable-path-.patch \ |
45 | file://0020-corelib-Include-sys-types.h-for-uint32_t.patch \ | ||
45 | " | 46 | " |
46 | 47 | ||
47 | # common for qtbase-native and nativesdk-qtbase | 48 | # common for qtbase-native and nativesdk-qtbase |
diff --git a/recipes-qt/qt5/qtbase-native_git.bb b/recipes-qt/qt5/qtbase-native_git.bb index 246f183a..4c26d0f3 100644 --- a/recipes-qt/qt5/qtbase-native_git.bb +++ b/recipes-qt/qt5/qtbase-native_git.bb | |||
@@ -37,6 +37,7 @@ SRC_URI += "\ | |||
37 | file://0015-double-conversion-support-AARCH64EB-and-arm-BE.patch \ | 37 | file://0015-double-conversion-support-AARCH64EB-and-arm-BE.patch \ |
38 | file://0016-Disable-ltcg-for-host_build.patch \ | 38 | file://0016-Disable-ltcg-for-host_build.patch \ |
39 | file://0017-Qt5GuiConfigExtras.cmake.in-cope-with-variable-path-.patch \ | 39 | file://0017-Qt5GuiConfigExtras.cmake.in-cope-with-variable-path-.patch \ |
40 | file://0020-corelib-Include-sys-types.h-for-uint32_t.patch \ | ||
40 | " | 41 | " |
41 | 42 | ||
42 | # common for qtbase-native and nativesdk-qtbase | 43 | # common for qtbase-native and nativesdk-qtbase |
diff --git a/recipes-qt/qt5/qtbase/0020-corelib-Include-sys-types.h-for-uint32_t.patch b/recipes-qt/qt5/qtbase/0020-corelib-Include-sys-types.h-for-uint32_t.patch new file mode 100644 index 00000000..81ae28b3 --- /dev/null +++ b/recipes-qt/qt5/qtbase/0020-corelib-Include-sys-types.h-for-uint32_t.patch | |||
@@ -0,0 +1,30 @@ | |||
1 | From d48cd5f4c46ec4ba129ae8abdfb8707285485933 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Thu, 6 Dec 2018 11:47:52 -0800 | ||
4 | Subject: [PATCH] corelib: Include sys/types.h for uint32_t | ||
5 | |||
6 | This has been includes indirectly on glibc/linux systems | ||
7 | via inttypes.h -> stdint.h -> sys/types.h but it breaks on | ||
8 | musl where this indirect include chain does not exist. | ||
9 | |||
10 | Upstream-Status: Pending | ||
11 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
12 | --- | ||
13 | src/corelib/global/qnumeric_p.h | 1 + | ||
14 | 1 file changed, 1 insertion(+) | ||
15 | |||
16 | diff --git a/src/corelib/global/qnumeric_p.h b/src/corelib/global/qnumeric_p.h | ||
17 | index 5f8a124bcc..fe1711cf1b 100644 | ||
18 | --- a/src/corelib/global/qnumeric_p.h | ||
19 | +++ b/src/corelib/global/qnumeric_p.h | ||
20 | @@ -55,6 +55,7 @@ | ||
21 | #include "QtCore/private/qglobal_p.h" | ||
22 | #include <cmath> | ||
23 | #include <limits> | ||
24 | +#include <sys/types.h> | ||
25 | |||
26 | #if defined(Q_CC_MSVC) | ||
27 | # include <intrin.h> | ||
28 | -- | ||
29 | 2.19.2 | ||
30 | |||
diff --git a/recipes-qt/qt5/qtbase_git.bb b/recipes-qt/qt5/qtbase_git.bb index 18137ce2..57fa1783 100644 --- a/recipes-qt/qt5/qtbase_git.bb +++ b/recipes-qt/qt5/qtbase_git.bb | |||
@@ -33,6 +33,7 @@ SRC_URI += "\ | |||
33 | file://0015-double-conversion-support-AARCH64EB-and-arm-BE.patch \ | 33 | file://0015-double-conversion-support-AARCH64EB-and-arm-BE.patch \ |
34 | file://0016-Disable-ltcg-for-host_build.patch \ | 34 | file://0016-Disable-ltcg-for-host_build.patch \ |
35 | file://0017-Qt5GuiConfigExtras.cmake.in-cope-with-variable-path-.patch \ | 35 | file://0017-Qt5GuiConfigExtras.cmake.in-cope-with-variable-path-.patch \ |
36 | file://0020-corelib-Include-sys-types.h-for-uint32_t.patch \ | ||
36 | " | 37 | " |
37 | 38 | ||
38 | 39 | ||