diff options
Diffstat (limited to 'recipes-qt/qt5/qtbase')
20 files changed, 116 insertions, 87 deletions
diff --git a/recipes-qt/qt5/qtbase/0001-Add-linux-oe-g-platform.patch b/recipes-qt/qt5/qtbase/0001-Add-linux-oe-g-platform.patch index acc532e3..155dd63c 100644 --- a/recipes-qt/qt5/qtbase/0001-Add-linux-oe-g-platform.patch +++ b/recipes-qt/qt5/qtbase/0001-Add-linux-oe-g-platform.patch | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | From 3701cce26ce6f90e4b5e4c71c73d333d43b5ac08 Mon Sep 17 00:00:00 2001 | 1 | From 0edb35edfc5ef383e705b50422796dbd5ba8ef1a 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: Mon, 15 Apr 2013 04:29:32 +0200 | 3 | Date: Mon, 15 Apr 2013 04:29:32 +0200 |
| 4 | Subject: [PATCH] Add linux-oe-g++ platform | 4 | Subject: [PATCH] Add linux-oe-g++ platform |
| @@ -21,17 +21,17 @@ Change-Id: I0591ed5da0d61d7cf1509d420e6b293582f1863c | |||
| 21 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | 21 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> |
| 22 | --- | 22 | --- |
| 23 | configure | 2 +- | 23 | configure | 2 +- |
| 24 | mkspecs/features/configure.prf | 4 +-- | 24 | mkspecs/features/configure.prf | 4 ++-- |
| 25 | mkspecs/features/qt.prf | 6 ++--- | 25 | mkspecs/features/qt.prf | 6 +++--- |
| 26 | mkspecs/features/qt_functions.prf | 2 +- | 26 | mkspecs/features/qt_functions.prf | 2 +- |
| 27 | mkspecs/linux-oe-g++/qmake.conf | 39 ++++++++++++++++++++++++++++ | 27 | mkspecs/linux-oe-g++/qmake.conf | 39 ++++++++++++++++++++++++++++++++++++ |
| 28 | mkspecs/linux-oe-g++/qplatformdefs.h | 1 + | 28 | mkspecs/linux-oe-g++/qplatformdefs.h | 1 + |
| 29 | 6 files changed, 47 insertions(+), 7 deletions(-) | 29 | 6 files changed, 47 insertions(+), 7 deletions(-) |
| 30 | create mode 100644 mkspecs/linux-oe-g++/qmake.conf | 30 | create mode 100644 mkspecs/linux-oe-g++/qmake.conf |
| 31 | create mode 100644 mkspecs/linux-oe-g++/qplatformdefs.h | 31 | create mode 100644 mkspecs/linux-oe-g++/qplatformdefs.h |
| 32 | 32 | ||
| 33 | diff --git a/configure b/configure | 33 | diff --git a/configure b/configure |
| 34 | index ef7bad1bfc..dcca0f9135 100755 | 34 | index ef7bad1..dcca0f9 100755 |
| 35 | --- a/configure | 35 | --- a/configure |
| 36 | +++ b/configure | 36 | +++ b/configure |
| 37 | @@ -712,7 +712,7 @@ fi | 37 | @@ -712,7 +712,7 @@ fi |
| @@ -44,7 +44,7 @@ index ef7bad1bfc..dcca0f9135 100755 | |||
| 44 | 44 | ||
| 45 | # build qmake | 45 | # build qmake |
| 46 | diff --git a/mkspecs/features/configure.prf b/mkspecs/features/configure.prf | 46 | diff --git a/mkspecs/features/configure.prf b/mkspecs/features/configure.prf |
| 47 | index 934a18a924..0f5b1b6333 100644 | 47 | index 934a18a..0f5b1b6 100644 |
| 48 | --- a/mkspecs/features/configure.prf | 48 | --- a/mkspecs/features/configure.prf |
| 49 | +++ b/mkspecs/features/configure.prf | 49 | +++ b/mkspecs/features/configure.prf |
| 50 | @@ -46,14 +46,14 @@ defineTest(qtCompileTest) { | 50 | @@ -46,14 +46,14 @@ defineTest(qtCompileTest) { |
| @@ -65,19 +65,19 @@ index 934a18a924..0f5b1b6333 100644 | |||
| 65 | msg = "test $$1 succeeded" | 65 | msg = "test $$1 succeeded" |
| 66 | write_file($$QMAKE_CONFIG_LOG, msg, append) | 66 | write_file($$QMAKE_CONFIG_LOG, msg, append) |
| 67 | diff --git a/mkspecs/features/qt.prf b/mkspecs/features/qt.prf | 67 | diff --git a/mkspecs/features/qt.prf b/mkspecs/features/qt.prf |
| 68 | index d16b3cf1be..df219ce34c 100644 | 68 | index 3a71376..dd6020f 100644 |
| 69 | --- a/mkspecs/features/qt.prf | 69 | --- a/mkspecs/features/qt.prf |
| 70 | +++ b/mkspecs/features/qt.prf | 70 | +++ b/mkspecs/features/qt.prf |
| 71 | @@ -147,7 +147,7 @@ import_plugins:qtConfig(static) { | 71 | @@ -148,7 +148,7 @@ import_plugins:qtConfig(static) { |
| 72 | !isEmpty(plug_type) { | 72 | plug_name = $$QMAKE_PREFIX_STATICLIB$${plug}$$qtPlatformTargetSuffix().$$QMAKE_EXTENSION_STATICLIB |
| 73 | plug_path = $$eval(QT_PLUGIN.$${plug}.PATH) | 73 | plug_path = $$eval(QT_PLUGIN.$${plug}.PATH) |
| 74 | isEmpty(plug_path): \ | 74 | isEmpty(plug_path): \ |
| 75 | - plug_path = $$[QT_INSTALL_PLUGINS/get] | 75 | - plug_path = $$[QT_INSTALL_PLUGINS/get] |
| 76 | + plug_path = $$[QT_INSTALL_PLUGINS] | 76 | + plug_path = $$[QT_INSTALL_PLUGINS] |
| 77 | LIBS += -L$$plug_path/$$plug_type | 77 | LIBS += $$plug_path/$$plug_type/$$plug_name |
| 78 | } | 78 | } else { |
| 79 | LIBS += -l$${plug}$$qtPlatformTargetSuffix() | 79 | LIBS += -l$${plug}$$qtPlatformTargetSuffix() |
| 80 | @@ -307,8 +307,8 @@ for(ever) { | 80 | @@ -271,8 +271,8 @@ for(ever) { |
| 81 | # static builds: link qml import plugins into the target. | 81 | # static builds: link qml import plugins into the target. |
| 82 | contains(all_qt_module_deps, qml): \ | 82 | contains(all_qt_module_deps, qml): \ |
| 83 | qtConfig(static):import_plugins:!host_build:!no_import_scan { | 83 | qtConfig(static):import_plugins:!host_build:!no_import_scan { |
| @@ -89,7 +89,7 @@ index d16b3cf1be..df219ce34c 100644 | |||
| 89 | # run qmlimportscanner | 89 | # run qmlimportscanner |
| 90 | qtPrepareTool(QMLIMPORTSCANNER, qmlimportscanner, , system) | 90 | qtPrepareTool(QMLIMPORTSCANNER, qmlimportscanner, , system) |
| 91 | diff --git a/mkspecs/features/qt_functions.prf b/mkspecs/features/qt_functions.prf | 91 | diff --git a/mkspecs/features/qt_functions.prf b/mkspecs/features/qt_functions.prf |
| 92 | index 1903e509c8..c093dd4592 100644 | 92 | index 1903e50..c093dd4 100644 |
| 93 | --- a/mkspecs/features/qt_functions.prf | 93 | --- a/mkspecs/features/qt_functions.prf |
| 94 | +++ b/mkspecs/features/qt_functions.prf | 94 | +++ b/mkspecs/features/qt_functions.prf |
| 95 | @@ -69,7 +69,7 @@ defineTest(qtHaveModule) { | 95 | @@ -69,7 +69,7 @@ defineTest(qtHaveModule) { |
| @@ -103,7 +103,7 @@ index 1903e509c8..c093dd4592 100644 | |||
| 103 | cmd = perl -w $$system_path($${cmd}.pl) | 103 | cmd = perl -w $$system_path($${cmd}.pl) |
| 104 | diff --git a/mkspecs/linux-oe-g++/qmake.conf b/mkspecs/linux-oe-g++/qmake.conf | 104 | diff --git a/mkspecs/linux-oe-g++/qmake.conf b/mkspecs/linux-oe-g++/qmake.conf |
| 105 | new file mode 100644 | 105 | new file mode 100644 |
| 106 | index 0000000000..c202c47fa1 | 106 | index 0000000..c202c47 |
| 107 | --- /dev/null | 107 | --- /dev/null |
| 108 | +++ b/mkspecs/linux-oe-g++/qmake.conf | 108 | +++ b/mkspecs/linux-oe-g++/qmake.conf |
| 109 | @@ -0,0 +1,39 @@ | 109 | @@ -0,0 +1,39 @@ |
| @@ -148,7 +148,7 @@ index 0000000000..c202c47fa1 | |||
| 148 | +load(qt_config) | 148 | +load(qt_config) |
| 149 | diff --git a/mkspecs/linux-oe-g++/qplatformdefs.h b/mkspecs/linux-oe-g++/qplatformdefs.h | 149 | diff --git a/mkspecs/linux-oe-g++/qplatformdefs.h b/mkspecs/linux-oe-g++/qplatformdefs.h |
| 150 | new file mode 100644 | 150 | new file mode 100644 |
| 151 | index 0000000000..5d22fb4101 | 151 | index 0000000..5d22fb4 |
| 152 | --- /dev/null | 152 | --- /dev/null |
| 153 | +++ b/mkspecs/linux-oe-g++/qplatformdefs.h | 153 | +++ b/mkspecs/linux-oe-g++/qplatformdefs.h |
| 154 | @@ -0,0 +1 @@ | 154 | @@ -0,0 +1 @@ |
diff --git a/recipes-qt/qt5/qtbase/0002-cmake-Use-OE_QMAKE_PATH_EXTERNAL_HOST_BINS.patch b/recipes-qt/qt5/qtbase/0002-cmake-Use-OE_QMAKE_PATH_EXTERNAL_HOST_BINS.patch index 96bad560..c46d2961 100644 --- a/recipes-qt/qt5/qtbase/0002-cmake-Use-OE_QMAKE_PATH_EXTERNAL_HOST_BINS.patch +++ b/recipes-qt/qt5/qtbase/0002-cmake-Use-OE_QMAKE_PATH_EXTERNAL_HOST_BINS.patch | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | From 0b3ead1ff3942cdcb19ab949a0386b3618b20d2a Mon Sep 17 00:00:00 2001 | 1 | From 643818dd46f6c0bfabdf09608dd12844c65a06c7 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, 6 Apr 2013 13:15:07 +0200 | 3 | Date: Sat, 6 Apr 2013 13:15:07 +0200 |
| 4 | Subject: [PATCH] cmake: Use OE_QMAKE_PATH_EXTERNAL_HOST_BINS | 4 | Subject: [PATCH] cmake: Use OE_QMAKE_PATH_EXTERNAL_HOST_BINS |
diff --git a/recipes-qt/qt5/qtbase/0003-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch b/recipes-qt/qt5/qtbase/0003-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch index 6f284949..d7db54d3 100644 --- a/recipes-qt/qt5/qtbase/0003-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch +++ b/recipes-qt/qt5/qtbase/0003-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | From 2881fc4c8871dc5f4dd3798894bef0cdad04194f Mon Sep 17 00:00:00 2001 | 1 | From df4410ccc0977b089efddd7d0d405e4abee2aab8 Mon Sep 17 00:00:00 2001 |
| 2 | From: Holger Freyther <zecke@selfish.org> | 2 | From: Holger Freyther <zecke@selfish.org> |
| 3 | Date: Wed, 26 Sep 2012 17:22:30 +0200 | 3 | Date: Wed, 26 Sep 2012 17:22:30 +0200 |
| 4 | Subject: [PATCH] qlibraryinfo: allow to set qt.conf from the outside using the | 4 | Subject: [PATCH] qlibraryinfo: allow to set qt.conf from the outside using the |
| @@ -20,10 +20,10 @@ Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | |||
| 20 | 1 file changed, 4 insertions(+), 1 deletion(-) | 20 | 1 file changed, 4 insertions(+), 1 deletion(-) |
| 21 | 21 | ||
| 22 | diff --git a/src/corelib/global/qlibraryinfo.cpp b/src/corelib/global/qlibraryinfo.cpp | 22 | diff --git a/src/corelib/global/qlibraryinfo.cpp b/src/corelib/global/qlibraryinfo.cpp |
| 23 | index e727f00c8e..819dbb8aa3 100644 | 23 | index 4119012d85..6395d10561 100644 |
| 24 | --- a/src/corelib/global/qlibraryinfo.cpp | 24 | --- a/src/corelib/global/qlibraryinfo.cpp |
| 25 | +++ b/src/corelib/global/qlibraryinfo.cpp | 25 | +++ b/src/corelib/global/qlibraryinfo.cpp |
| 26 | @@ -172,7 +172,10 @@ void QLibrarySettings::load() | 26 | @@ -174,7 +174,10 @@ void QLibrarySettings::load() |
| 27 | QSettings *QLibraryInfoPrivate::findConfiguration() | 27 | QSettings *QLibraryInfoPrivate::findConfiguration() |
| 28 | { | 28 | { |
| 29 | #ifdef QT_BUILD_QMAKE | 29 | #ifdef QT_BUILD_QMAKE |
diff --git a/recipes-qt/qt5/qtbase/0004-configure-bump-path-length-from-256-to-512-character.patch b/recipes-qt/qt5/qtbase/0004-configure-bump-path-length-from-256-to-512-character.patch index 7e5674be..420a1e3c 100644 --- a/recipes-qt/qt5/qtbase/0004-configure-bump-path-length-from-256-to-512-character.patch +++ b/recipes-qt/qt5/qtbase/0004-configure-bump-path-length-from-256-to-512-character.patch | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | From e5036f7002281cd122a9992da59270a25d9cff89 Mon Sep 17 00:00:00 2001 | 1 | From 7f912753d733d218eb87fd3b3d1d3d39e336f566 Mon Sep 17 00:00:00 2001 |
| 2 | From: Denys Dmytriyenko <denys@ti.com> | 2 | From: Denys Dmytriyenko <denys@ti.com> |
| 3 | Date: Tue, 25 Aug 2015 10:05:15 -0400 | 3 | Date: Tue, 25 Aug 2015 10:05:15 -0400 |
| 4 | Subject: [PATCH] configure: bump path length from 256 to 512 characters | 4 | Subject: [PATCH] configure: bump path length from 256 to 512 characters |
| @@ -15,10 +15,10 @@ Signed-off-by: Denys Dmytriyenko <denys@ti.com> | |||
| 15 | 1 file changed, 3 insertions(+), 3 deletions(-) | 15 | 1 file changed, 3 insertions(+), 3 deletions(-) |
| 16 | 16 | ||
| 17 | diff --git a/configure.pri b/configure.pri | 17 | diff --git a/configure.pri b/configure.pri |
| 18 | index 64ed6b9ed8..bb2acbcd35 100644 | 18 | index 131aa868c2..294dfd6fd2 100644 |
| 19 | --- a/configure.pri | 19 | --- a/configure.pri |
| 20 | +++ b/configure.pri | 20 | +++ b/configure.pri |
| 21 | @@ -838,10 +838,10 @@ defineTest(qtConfOutput_preparePaths) { | 21 | @@ -843,10 +843,10 @@ defineTest(qtConfOutput_preparePaths) { |
| 22 | "static const char qt_configure_installation [12+11] = \"qt_instdate=2012-12-20\";" \ | 22 | "static const char qt_configure_installation [12+11] = \"qt_instdate=2012-12-20\";" \ |
| 23 | "" \ | 23 | "" \ |
| 24 | "/* Installation Info */" \ | 24 | "/* Installation Info */" \ |
diff --git a/recipes-qt/qt5/qtbase/0005-Disable-all-unknown-features-instead-of-erroring-out.patch b/recipes-qt/qt5/qtbase/0005-Disable-all-unknown-features-instead-of-erroring-out.patch index 9b563b26..b54bcf64 100644 --- a/recipes-qt/qt5/qtbase/0005-Disable-all-unknown-features-instead-of-erroring-out.patch +++ b/recipes-qt/qt5/qtbase/0005-Disable-all-unknown-features-instead-of-erroring-out.patch | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | From af450d151f0f9329fb207b7f06bbaa72d97aad0f Mon Sep 17 00:00:00 2001 | 1 | From 5556bc54942214e84dc5f81b2dcdc05f7713ff6e 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: Mon, 24 Oct 2016 09:45:18 +0300 | 3 | Date: Mon, 24 Oct 2016 09:45:18 +0300 |
| 4 | Subject: [PATCH] Disable all unknown features instead of erroring out | 4 | Subject: [PATCH] Disable all unknown features instead of erroring out |
| @@ -10,10 +10,10 @@ Change-Id: Ib884fe33cac74439f9592b145937f6b75ced8447 | |||
| 10 | 1 file changed, 2 insertions(+), 1 deletion(-) | 10 | 1 file changed, 2 insertions(+), 1 deletion(-) |
| 11 | 11 | ||
| 12 | diff --git a/mkspecs/features/qt_configure.prf b/mkspecs/features/qt_configure.prf | 12 | diff --git a/mkspecs/features/qt_configure.prf b/mkspecs/features/qt_configure.prf |
| 13 | index 81b820978a..bec0fb1149 100644 | 13 | index 62ad972796..04690068bc 100644 |
| 14 | --- a/mkspecs/features/qt_configure.prf | 14 | --- a/mkspecs/features/qt_configure.prf |
| 15 | +++ b/mkspecs/features/qt_configure.prf | 15 | +++ b/mkspecs/features/qt_configure.prf |
| 16 | @@ -1301,7 +1301,8 @@ defineReplace(qtConfEvaluateSingleExpression) { | 16 | @@ -1576,7 +1576,8 @@ defineReplace(qtConfEvaluateSingleExpression) { |
| 17 | error("Expression '$$1' is accessing field '$$var' of non-local feature $${feature}.") | 17 | error("Expression '$$1' is accessing field '$$var' of non-local feature $${feature}.") |
| 18 | return($$result) | 18 | return($$result) |
| 19 | } | 19 | } |
diff --git a/recipes-qt/qt5/qtbase/0006-Pretend-Qt5-wasn-t-found-if-OE_QMAKE_PATH_EXTERNAL_H.patch b/recipes-qt/qt5/qtbase/0006-Pretend-Qt5-wasn-t-found-if-OE_QMAKE_PATH_EXTERNAL_H.patch index 8e9e0b29..849ee0ca 100644 --- a/recipes-qt/qt5/qtbase/0006-Pretend-Qt5-wasn-t-found-if-OE_QMAKE_PATH_EXTERNAL_H.patch +++ b/recipes-qt/qt5/qtbase/0006-Pretend-Qt5-wasn-t-found-if-OE_QMAKE_PATH_EXTERNAL_H.patch | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | From f691e01eb5d30d4b18193f33b8b042d9ef8d30fe Mon Sep 17 00:00:00 2001 | 1 | From 265c509a62cc52d9b3a6c9e9995ac26ca278bc1b Mon Sep 17 00:00:00 2001 |
| 2 | From: Pascal Bach <pascal.bach@siemens.com> | 2 | From: Pascal Bach <pascal.bach@siemens.com> |
| 3 | Date: Wed, 11 May 2016 15:20:41 +0200 | 3 | Date: Wed, 11 May 2016 15:20:41 +0200 |
| 4 | Subject: [PATCH] Pretend Qt5 wasn't found if OE_QMAKE_PATH_EXTERNAL_HOST_BINS | 4 | Subject: [PATCH] Pretend Qt5 wasn't found if OE_QMAKE_PATH_EXTERNAL_HOST_BINS |
diff --git a/recipes-qt/qt5/qtbase/0007-Delete-qlonglong-and-qulonglong.patch b/recipes-qt/qt5/qtbase/0007-Delete-qlonglong-and-qulonglong.patch index bb93d8b9..8719d1e3 100644 --- a/recipes-qt/qt5/qtbase/0007-Delete-qlonglong-and-qulonglong.patch +++ b/recipes-qt/qt5/qtbase/0007-Delete-qlonglong-and-qulonglong.patch | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | From 2d0c0a470b2b0cb0b1d4b6fcdbbd5e49bbb268e9 Mon Sep 17 00:00:00 2001 | 1 | From a7b47f38399ef145160e201052e5d0871fa6750c Mon Sep 17 00:00:00 2001 |
| 2 | From: Huang Qiyu <huangqy.fnst@cn.fujitsu.com> | 2 | From: Huang Qiyu <huangqy.fnst@cn.fujitsu.com> |
| 3 | Date: Wed, 7 Jun 2017 21:00:49 +0900 | 3 | Date: Wed, 7 Jun 2017 21:00:49 +0900 |
| 4 | Subject: [PATCH] Delete qlonglong and qulonglong | 4 | Subject: [PATCH] Delete qlonglong and qulonglong |
diff --git a/recipes-qt/qt5/qtbase/0008-Replace-pthread_yield-with-sched_yield.patch b/recipes-qt/qt5/qtbase/0008-Replace-pthread_yield-with-sched_yield.patch index 871e9ace..84e59e7c 100644 --- a/recipes-qt/qt5/qtbase/0008-Replace-pthread_yield-with-sched_yield.patch +++ b/recipes-qt/qt5/qtbase/0008-Replace-pthread_yield-with-sched_yield.patch | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | From cbdcde6b124da35443cf435e0f04cfe75360ce90 Mon Sep 17 00:00:00 2001 | 1 | From aebff1455c764e9ecc73e6b52a4bac8233c93966 Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Thu, 27 Jul 2017 08:02:51 -0700 | 3 | Date: Thu, 27 Jul 2017 08:02:51 -0700 |
| 4 | Subject: [PATCH] Replace pthread_yield with sched_yield | 4 | Subject: [PATCH] Replace pthread_yield with sched_yield |
| @@ -14,7 +14,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
| 14 | 2 files changed, 5 insertions(+), 4 deletions(-) | 14 | 2 files changed, 5 insertions(+), 4 deletions(-) |
| 15 | 15 | ||
| 16 | diff --git a/tests/auto/corelib/kernel/qmetatype/tst_qmetatype.cpp b/tests/auto/corelib/kernel/qmetatype/tst_qmetatype.cpp | 16 | diff --git a/tests/auto/corelib/kernel/qmetatype/tst_qmetatype.cpp b/tests/auto/corelib/kernel/qmetatype/tst_qmetatype.cpp |
| 17 | index 5d9b5ca95c..ffcbddc442 100644 | 17 | index e6fac74ccc..28c7e9cfb3 100644 |
| 18 | --- a/tests/auto/corelib/kernel/qmetatype/tst_qmetatype.cpp | 18 | --- a/tests/auto/corelib/kernel/qmetatype/tst_qmetatype.cpp |
| 19 | +++ b/tests/auto/corelib/kernel/qmetatype/tst_qmetatype.cpp | 19 | +++ b/tests/auto/corelib/kernel/qmetatype/tst_qmetatype.cpp |
| 20 | @@ -35,7 +35,7 @@ | 20 | @@ -35,7 +35,7 @@ |
| @@ -26,7 +26,7 @@ index 5d9b5ca95c..ffcbddc442 100644 | |||
| 26 | #endif | 26 | #endif |
| 27 | 27 | ||
| 28 | #include <algorithm> | 28 | #include <algorithm> |
| 29 | @@ -365,7 +365,7 @@ protected: | 29 | @@ -366,7 +366,7 @@ protected: |
| 30 | const char *nm = name.constData(); | 30 | const char *nm = name.constData(); |
| 31 | int tp = qRegisterMetaType<Bar>(nm); | 31 | int tp = qRegisterMetaType<Bar>(nm); |
| 32 | #if defined(Q_OS_LINUX) && !defined(Q_OS_ANDROID) | 32 | #if defined(Q_OS_LINUX) && !defined(Q_OS_ANDROID) |
| @@ -36,7 +36,7 @@ index 5d9b5ca95c..ffcbddc442 100644 | |||
| 36 | QMetaType info(tp); | 36 | QMetaType info(tp); |
| 37 | if (!info.isValid()) { | 37 | if (!info.isValid()) { |
| 38 | diff --git a/tests/auto/network/socket/qtcpsocket/tst_qtcpsocket.cpp b/tests/auto/network/socket/qtcpsocket/tst_qtcpsocket.cpp | 38 | diff --git a/tests/auto/network/socket/qtcpsocket/tst_qtcpsocket.cpp b/tests/auto/network/socket/qtcpsocket/tst_qtcpsocket.cpp |
| 39 | index 263a475435..11994b3c4f 100644 | 39 | index c473230246..1db8d6f225 100644 |
| 40 | --- a/tests/auto/network/socket/qtcpsocket/tst_qtcpsocket.cpp | 40 | --- a/tests/auto/network/socket/qtcpsocket/tst_qtcpsocket.cpp |
| 41 | +++ b/tests/auto/network/socket/qtcpsocket/tst_qtcpsocket.cpp | 41 | +++ b/tests/auto/network/socket/qtcpsocket/tst_qtcpsocket.cpp |
| 42 | @@ -78,6 +78,7 @@ | 42 | @@ -78,6 +78,7 @@ |
diff --git a/recipes-qt/qt5/qtbase/0009-Add-OE-specific-specs-for-clang-compiler.patch b/recipes-qt/qt5/qtbase/0009-Add-OE-specific-specs-for-clang-compiler.patch index fe5746e2..8498fd6a 100644 --- a/recipes-qt/qt5/qtbase/0009-Add-OE-specific-specs-for-clang-compiler.patch +++ b/recipes-qt/qt5/qtbase/0009-Add-OE-specific-specs-for-clang-compiler.patch | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | From 4486a9740b07aa7902f638efe23a51ee619f9600 Mon Sep 17 00:00:00 2001 | 1 | From d1198f3f6f3293c46db913d63518f625162b3ce5 Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Sun, 3 Sep 2017 09:11:44 -0700 | 3 | Date: Sun, 3 Sep 2017 09:11:44 -0700 |
| 4 | Subject: [PATCH] Add OE specific specs for clang compiler | 4 | Subject: [PATCH] Add OE specific specs for clang compiler |
diff --git a/recipes-qt/qt5/qtbase/0010-linux-clang-Invert-conditional-for-defining-QT_SOCKL.patch b/recipes-qt/qt5/qtbase/0010-linux-clang-Invert-conditional-for-defining-QT_SOCKL.patch index b0136274..e13858f1 100644 --- a/recipes-qt/qt5/qtbase/0010-linux-clang-Invert-conditional-for-defining-QT_SOCKL.patch +++ b/recipes-qt/qt5/qtbase/0010-linux-clang-Invert-conditional-for-defining-QT_SOCKL.patch | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | From 0e57390700e0c5e727307ced58f7664138a97a53 Mon Sep 17 00:00:00 2001 | 1 | From e6ce6eaa98985b706151c63ca7b705110927d71b Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Sun, 3 Sep 2017 09:44:48 -0700 | 3 | Date: Sun, 3 Sep 2017 09:44:48 -0700 |
| 4 | Subject: [PATCH] linux-clang: Invert conditional for defining QT_SOCKLEN_T | 4 | Subject: [PATCH] linux-clang: Invert conditional for defining QT_SOCKLEN_T |
diff --git a/recipes-qt/qt5/qtbase/0011-tst_qlocale-Enable-QT_USE_FENV-only-on-glibc.patch b/recipes-qt/qt5/qtbase/0011-tst_qlocale-Enable-QT_USE_FENV-only-on-glibc.patch index 2b9cbd20..b9cc9d44 100644 --- a/recipes-qt/qt5/qtbase/0011-tst_qlocale-Enable-QT_USE_FENV-only-on-glibc.patch +++ b/recipes-qt/qt5/qtbase/0011-tst_qlocale-Enable-QT_USE_FENV-only-on-glibc.patch | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | From aaeb2c108346466614e8b2f16408cccf1626dbcf Mon Sep 17 00:00:00 2001 | 1 | From d8eb5531c444bcae2c2067a7f67e5229acc75fac Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Sun, 3 Sep 2017 10:11:50 -0700 | 3 | Date: Sun, 3 Sep 2017 10:11:50 -0700 |
| 4 | Subject: [PATCH] tst_qlocale: Enable QT_USE_FENV only on glibc | 4 | Subject: [PATCH] tst_qlocale: Enable QT_USE_FENV only on glibc |
| @@ -11,7 +11,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
| 11 | 1 file changed, 1 insertion(+), 1 deletion(-) | 11 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 12 | 12 | ||
| 13 | diff --git a/tests/auto/corelib/tools/qlocale/tst_qlocale.cpp b/tests/auto/corelib/tools/qlocale/tst_qlocale.cpp | 13 | diff --git a/tests/auto/corelib/tools/qlocale/tst_qlocale.cpp b/tests/auto/corelib/tools/qlocale/tst_qlocale.cpp |
| 14 | index 261689d401..40537daef9 100644 | 14 | index 5d344834e6..1afc70d255 100644 |
| 15 | --- a/tests/auto/corelib/tools/qlocale/tst_qlocale.cpp | 15 | --- a/tests/auto/corelib/tools/qlocale/tst_qlocale.cpp |
| 16 | +++ b/tests/auto/corelib/tools/qlocale/tst_qlocale.cpp | 16 | +++ b/tests/auto/corelib/tools/qlocale/tst_qlocale.cpp |
| 17 | @@ -46,7 +46,7 @@ | 17 | @@ -46,7 +46,7 @@ |
diff --git a/recipes-qt/qt5/qtbase/0012-mkspecs-common-gcc-base.conf-Use-I-instead-of-isyste.patch b/recipes-qt/qt5/qtbase/0012-mkspecs-common-gcc-base.conf-Use-I-instead-of-isyste.patch index 8b8e8d5d..192385a5 100644 --- a/recipes-qt/qt5/qtbase/0012-mkspecs-common-gcc-base.conf-Use-I-instead-of-isyste.patch +++ b/recipes-qt/qt5/qtbase/0012-mkspecs-common-gcc-base.conf-Use-I-instead-of-isyste.patch | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | From 6b0dfb84eca369a791a0c038b9294d2f9c78bab5 Mon Sep 17 00:00:00 2001 | 1 | From 6a97088ee9d0d8b2a4fbd5b13ea44501d9e58995 Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Wed, 14 Feb 2018 17:08:43 -0800 | 3 | Date: Wed, 14 Feb 2018 17:08:43 -0800 |
| 4 | Subject: [PATCH] mkspecs/common/gcc-base.conf: Use -I instead of -isystem | 4 | Subject: [PATCH] mkspecs/common/gcc-base.conf: Use -I instead of -isystem |
diff --git a/recipes-qt/qt5/qtbase/0013-Check-glibc-version-for-renameat2-statx-on-non-boots.patch b/recipes-qt/qt5/qtbase/0013-Check-glibc-version-for-renameat2-statx-on-non-boots.patch deleted file mode 100644 index 7a0f334a..00000000 --- a/recipes-qt/qt5/qtbase/0013-Check-glibc-version-for-renameat2-statx-on-non-boots.patch +++ /dev/null | |||
| @@ -1,38 +0,0 @@ | |||
| 1 | From 3aa91c5947c880e9e0380c9b481bfafd2eeb566c Mon Sep 17 00:00:00 2001 | ||
| 2 | From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com> | ||
| 3 | Date: Tue, 21 Aug 2018 00:29:06 +0200 | ||
| 4 | Subject: [PATCH] Check glibc version for renameat2/statx on non bootstrapped | ||
| 5 | build | ||
| 6 | MIME-Version: 1.0 | ||
| 7 | Content-Type: text/plain; charset=UTF-8 | ||
| 8 | Content-Transfer-Encoding: 8bit | ||
| 9 | |||
| 10 | Upstream-Status: Pending | ||
| 11 | |||
| 12 | Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> | ||
| 13 | --- | ||
| 14 | src/corelib/io/qfilesystemengine_unix.cpp | 11 +++++++++++ | ||
| 15 | 1 file changed, 11 insertions(+) | ||
| 16 | |||
| 17 | diff --git a/src/corelib/io/qfilesystemengine_unix.cpp b/src/corelib/io/qfilesystemengine_unix.cpp | ||
| 18 | index 5a5a3a82c6..e5469ff5d7 100644 | ||
| 19 | --- a/src/corelib/io/qfilesystemengine_unix.cpp | ||
| 20 | +++ b/src/corelib/io/qfilesystemengine_unix.cpp | ||
| 21 | @@ -93,6 +93,17 @@ extern "C" NSString *NSTemporaryDirectory(); | ||
| 22 | #ifndef FICLONE | ||
| 23 | # define FICLONE _IOW(0x94, 9, int) | ||
| 24 | #endif | ||
| 25 | + | ||
| 26 | +// renameat2/statx features for non bootstrapped build | ||
| 27 | +#ifndef QT_BOOTSTRAPPED | ||
| 28 | +#ifdef __GLIBC_PREREQ | ||
| 29 | +# define QT_FEATURE_renameat2 (__GLIBC_PREREQ(2, 28) ? 1 : -1) | ||
| 30 | +# define QT_FEATURE_statx (__GLIBC_PREREQ(2, 28) ? 1 : -1) | ||
| 31 | +#else | ||
| 32 | +# define QT_FEATURE_renameat2 -1 | ||
| 33 | +# define QT_FEATURE_statx -1 | ||
| 34 | +#endif | ||
| 35 | +#endif | ||
| 36 | #endif | ||
| 37 | |||
| 38 | #if defined(Q_OS_ANDROID) | ||
diff --git a/recipes-qt/qt5/qtbase/0014-Disable-ltcg-for-host_build.patch b/recipes-qt/qt5/qtbase/0013-Disable-ltcg-for-host_build.patch index f8a51572..e275a80e 100644 --- a/recipes-qt/qt5/qtbase/0014-Disable-ltcg-for-host_build.patch +++ b/recipes-qt/qt5/qtbase/0013-Disable-ltcg-for-host_build.patch | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | From d64de84020798e9f4645d876b99a81cedfc051fa Mon Sep 17 00:00:00 2001 | 1 | From ffd62d10df5607897ef366330e368069fed1a9b9 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: Tue, 23 Oct 2018 09:54:57 +0300 | 3 | Date: Tue, 23 Oct 2018 09:54:57 +0300 |
| 4 | Subject: [PATCH] Disable ltcg for host_build | 4 | Subject: [PATCH] Disable ltcg for host_build |
diff --git a/recipes-qt/qt5/qtbase/0015-Qt5GuiConfigExtras.cmake.in-cope-with-variable-path-.patch b/recipes-qt/qt5/qtbase/0014-Qt5GuiConfigExtras.cmake.in-cope-with-variable-path-.patch index 552c7513..0a641bb2 100644 --- a/recipes-qt/qt5/qtbase/0015-Qt5GuiConfigExtras.cmake.in-cope-with-variable-path-.patch +++ b/recipes-qt/qt5/qtbase/0014-Qt5GuiConfigExtras.cmake.in-cope-with-variable-path-.patch | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | From ec343b946779a13d77ec1740605f6f5fe75077f3 Mon Sep 17 00:00:00 2001 | 1 | From f5c88622ac10601e48a14f31d9299692a9ac62e2 Mon Sep 17 00:00:00 2001 |
| 2 | From: Max Krummenacher <max.krummenacher@toradex.com> | 2 | From: Max Krummenacher <max.krummenacher@toradex.com> |
| 3 | Date: Sat, 27 Oct 2018 12:29:31 +0000 | 3 | Date: Sat, 27 Oct 2018 12:29:31 +0000 |
| 4 | Subject: [PATCH] Qt5GuiConfigExtras.cmake.in: cope with variable path to | 4 | Subject: [PATCH] Qt5GuiConfigExtras.cmake.in: cope with variable path to |
| @@ -19,7 +19,7 @@ Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> | |||
| 19 | 1 file changed, 8 insertions(+), 14 deletions(-) | 19 | 1 file changed, 8 insertions(+), 14 deletions(-) |
| 20 | 20 | ||
| 21 | diff --git a/src/gui/Qt5GuiConfigExtras.cmake.in b/src/gui/Qt5GuiConfigExtras.cmake.in | 21 | diff --git a/src/gui/Qt5GuiConfigExtras.cmake.in b/src/gui/Qt5GuiConfigExtras.cmake.in |
| 22 | index 84dbbfe..ad6956d 100644 | 22 | index 84dbbfebd4..ad6956d814 100644 |
| 23 | --- a/src/gui/Qt5GuiConfigExtras.cmake.in | 23 | --- a/src/gui/Qt5GuiConfigExtras.cmake.in |
| 24 | +++ b/src/gui/Qt5GuiConfigExtras.cmake.in | 24 | +++ b/src/gui/Qt5GuiConfigExtras.cmake.in |
| 25 | @@ -75,21 +75,15 @@ unset(_qt5gui_OPENGL_INCLUDE_DIR CACHE) | 25 | @@ -75,21 +75,15 @@ unset(_qt5gui_OPENGL_INCLUDE_DIR CACHE) |
diff --git a/recipes-qt/qt5/qtbase/0016-corelib-Include-sys-types.h-for-uint32_t.patch b/recipes-qt/qt5/qtbase/0015-corelib-Include-sys-types.h-for-uint32_t.patch index 06b7ae45..749594bd 100644 --- a/recipes-qt/qt5/qtbase/0016-corelib-Include-sys-types.h-for-uint32_t.patch +++ b/recipes-qt/qt5/qtbase/0015-corelib-Include-sys-types.h-for-uint32_t.patch | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | From 05d36eef240f707d309f9abbbeead2a428e6828b Mon Sep 17 00:00:00 2001 | 1 | From a7755c994aa8031e7f4eaa2df1a442a812d7f5bf Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Thu, 6 Dec 2018 11:47:52 -0800 | 3 | Date: Thu, 6 Dec 2018 11:47:52 -0800 |
| 4 | Subject: [PATCH] corelib: Include sys/types.h for uint32_t | 4 | Subject: [PATCH] corelib: Include sys/types.h for uint32_t |
| @@ -14,7 +14,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
| 14 | 1 file changed, 1 insertion(+) | 14 | 1 file changed, 1 insertion(+) |
| 15 | 15 | ||
| 16 | diff --git a/src/corelib/global/qnumeric_p.h b/src/corelib/global/qnumeric_p.h | 16 | diff --git a/src/corelib/global/qnumeric_p.h b/src/corelib/global/qnumeric_p.h |
| 17 | index e318c3759b..1cf589c1e7 100644 | 17 | index 4a225b2599..4414865c71 100644 |
| 18 | --- a/src/corelib/global/qnumeric_p.h | 18 | --- a/src/corelib/global/qnumeric_p.h |
| 19 | +++ b/src/corelib/global/qnumeric_p.h | 19 | +++ b/src/corelib/global/qnumeric_p.h |
| 20 | @@ -55,6 +55,7 @@ | 20 | @@ -55,6 +55,7 @@ |
diff --git a/recipes-qt/qt5/qtbase/0017-Define-QMAKE_CXX.COMPILER_MACROS-for-clang-on-linux.patch b/recipes-qt/qt5/qtbase/0016-Define-QMAKE_CXX.COMPILER_MACROS-for-clang-on-linux.patch index 191c475d..e3a92168 100644 --- a/recipes-qt/qt5/qtbase/0017-Define-QMAKE_CXX.COMPILER_MACROS-for-clang-on-linux.patch +++ b/recipes-qt/qt5/qtbase/0016-Define-QMAKE_CXX.COMPILER_MACROS-for-clang-on-linux.patch | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | From 8d03a813e3354af543f6b54928629c75ce989781 Mon Sep 17 00:00:00 2001 | 1 | From 59c5c149ad1fa3015f1fee34e87e9f8ab89f5de1 Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Thu, 6 Dec 2018 15:06:20 -0800 | 3 | Date: Thu, 6 Dec 2018 15:06:20 -0800 |
| 4 | Subject: [PATCH] Define QMAKE_CXX.COMPILER_MACROS for clang on linux | 4 | Subject: [PATCH] Define QMAKE_CXX.COMPILER_MACROS for clang on linux |
| @@ -13,10 +13,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
| 13 | 1 file changed, 9 insertions(+) | 13 | 1 file changed, 9 insertions(+) |
| 14 | 14 | ||
| 15 | diff --git a/mkspecs/features/toolchain.prf b/mkspecs/features/toolchain.prf | 15 | diff --git a/mkspecs/features/toolchain.prf b/mkspecs/features/toolchain.prf |
| 16 | index 4ecfb8d889..5ed7e2f080 100644 | 16 | index 9c3a64aa8b..d0758ab778 100644 |
| 17 | --- a/mkspecs/features/toolchain.prf | 17 | --- a/mkspecs/features/toolchain.prf |
| 18 | +++ b/mkspecs/features/toolchain.prf | 18 | +++ b/mkspecs/features/toolchain.prf |
| 19 | @@ -205,6 +205,13 @@ defineReplace(qtVariablesFromGCC) { | 19 | @@ -41,6 +41,13 @@ defineReplace(qtVariablesFromGCC) { |
| 20 | return($$ret) | 20 | return($$ret) |
| 21 | } | 21 | } |
| 22 | 22 | ||
| @@ -30,7 +30,7 @@ index 4ecfb8d889..5ed7e2f080 100644 | |||
| 30 | isEmpty($${target_prefix}.COMPILER_MACROS) { | 30 | isEmpty($${target_prefix}.COMPILER_MACROS) { |
| 31 | msvc { | 31 | msvc { |
| 32 | clang_cl { | 32 | clang_cl { |
| 33 | @@ -224,6 +231,8 @@ isEmpty($${target_prefix}.COMPILER_MACROS) { | 33 | @@ -60,6 +67,8 @@ isEmpty($${target_prefix}.COMPILER_MACROS) { |
| 34 | } else { | 34 | } else { |
| 35 | vars = $$qtVariablesFromMSVC($$QMAKE_CXX) | 35 | vars = $$qtVariablesFromMSVC($$QMAKE_CXX) |
| 36 | } | 36 | } |
diff --git a/recipes-qt/qt5/qtbase/0021-Always-build-uic-and-qvkgen.patch b/recipes-qt/qt5/qtbase/0017-Always-build-uic-and-qvkgen.patch index 4958d432..69410925 100644 --- a/recipes-qt/qt5/qtbase/0021-Always-build-uic-and-qvkgen.patch +++ b/recipes-qt/qt5/qtbase/0017-Always-build-uic-and-qvkgen.patch | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | From 7af04e47ddfb4d285aab6bbb7efb46eb06252ba2 Mon Sep 17 00:00:00 2001 | 1 | From 4b0ca5d85afd944d1e5a3df545ba99566207c184 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/0018-Avoid-renameeat2-for-native-sdk-builds.patch b/recipes-qt/qt5/qtbase/0018-Avoid-renameeat2-for-native-sdk-builds.patch new file mode 100644 index 00000000..0ca038f5 --- /dev/null +++ b/recipes-qt/qt5/qtbase/0018-Avoid-renameeat2-for-native-sdk-builds.patch | |||
| @@ -0,0 +1,67 @@ | |||
| 1 | From 69aeac9c7233e0d76a8a00b1a45c53c1670c9b49 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com> | ||
| 3 | Date: Sun, 14 Apr 2019 13:27:58 +0200 | ||
| 4 | Subject: [PATCH] Avoid renameeat2 for native(sdk) builds | ||
| 5 | MIME-Version: 1.0 | ||
| 6 | Content-Type: text/plain; charset=UTF-8 | ||
| 7 | Content-Transfer-Encoding: 8bit | ||
| 8 | |||
| 9 | Recently pseudo changed to not support reanameeat2 as glibc wrapper [1]. This | ||
| 10 | causes massive failures at do_install [2] on qtbase. | ||
| 11 | |||
| 12 | To work around tell Qt build configuration not to use ranameet2 independent | ||
| 13 | of glibc version. | ||
| 14 | |||
| 15 | [1] https://git.openembedded.org/openembedded-core/commit/?id=0fb257121b68f38b40c078150db8f7d0979b7ea5 | ||
| 16 | [2] https://github.com/meta-qt5/meta-qt5/issues/187 | ||
| 17 | |||
| 18 | Upstream-Status: Inappropriate [OE-specific] | ||
| 19 | |||
| 20 | Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> | ||
| 21 | --- | ||
| 22 | src/corelib/global/qconfig-bootstrapped.h | 4 ++-- | ||
| 23 | src/corelib/io/qfilesystemengine_unix.cpp | 10 ---------- | ||
| 24 | 2 files changed, 2 insertions(+), 12 deletions(-) | ||
| 25 | |||
| 26 | diff --git a/src/corelib/global/qconfig-bootstrapped.h b/src/corelib/global/qconfig-bootstrapped.h | ||
| 27 | index dfcc3c9c7f..30166fe41c 100644 | ||
| 28 | --- a/src/corelib/global/qconfig-bootstrapped.h | ||
| 29 | +++ b/src/corelib/global/qconfig-bootstrapped.h | ||
| 30 | @@ -100,14 +100,14 @@ | ||
| 31 | #define QT_FEATURE_process -1 | ||
| 32 | #define QT_FEATURE_regularexpression -1 | ||
| 33 | #ifdef __GLIBC_PREREQ | ||
| 34 | -# define QT_FEATURE_renameat2 (__GLIBC_PREREQ(2, 28) ? 1 : -1) | ||
| 35 | +# define QT_FEATURE_renameat2 -1 | ||
| 36 | #else | ||
| 37 | # define QT_FEATURE_renameat2 -1 | ||
| 38 | #endif | ||
| 39 | #define QT_FEATURE_sharedmemory -1 | ||
| 40 | #define QT_FEATURE_slog2 -1 | ||
| 41 | #ifdef __GLIBC_PREREQ | ||
| 42 | -# define QT_FEATURE_statx (__GLIBC_PREREQ(2, 28) ? 1 : -1) | ||
| 43 | +# define QT_FEATURE_statx -1 | ||
| 44 | #else | ||
| 45 | # define QT_FEATURE_statx -1 | ||
| 46 | #endif | ||
| 47 | diff --git a/src/corelib/io/qfilesystemengine_unix.cpp b/src/corelib/io/qfilesystemengine_unix.cpp | ||
| 48 | index b2d81066db..d1783ebdf3 100644 | ||
| 49 | --- a/src/corelib/io/qfilesystemengine_unix.cpp | ||
| 50 | +++ b/src/corelib/io/qfilesystemengine_unix.cpp | ||
| 51 | @@ -1248,16 +1248,6 @@ bool QFileSystemEngine::renameFile(const QFileSystemEntry &source, const QFileSy | ||
| 52 | if (Q_UNLIKELY(srcPath.isEmpty() || tgtPath.isEmpty())) | ||
| 53 | return emptyFileEntryWarning(), false; | ||
| 54 | |||
| 55 | -#if defined(RENAME_NOREPLACE) && QT_CONFIG(renameat2) | ||
| 56 | - if (renameat2(AT_FDCWD, srcPath, AT_FDCWD, tgtPath, RENAME_NOREPLACE) == 0) | ||
| 57 | - return true; | ||
| 58 | - | ||
| 59 | - // We can also get EINVAL for some non-local filesystems. | ||
| 60 | - if (errno != EINVAL) { | ||
| 61 | - error = QSystemError(errno, QSystemError::StandardLibraryError); | ||
| 62 | - return false; | ||
| 63 | - } | ||
| 64 | -#endif | ||
| 65 | #if defined(Q_OS_DARWIN) && defined(RENAME_EXCL) | ||
| 66 | if (renameatx_np(AT_FDCWD, srcPath, AT_FDCWD, tgtPath, RENAME_EXCL) == 0) | ||
| 67 | return true; | ||
diff --git a/recipes-qt/qt5/qtbase/0022-Bootstrap-without-linkat-feature.patch b/recipes-qt/qt5/qtbase/0019-Bootstrap-without-linkat-feature.patch index 02ab9900..a1d08236 100644 --- a/recipes-qt/qt5/qtbase/0022-Bootstrap-without-linkat-feature.patch +++ b/recipes-qt/qt5/qtbase/0019-Bootstrap-without-linkat-feature.patch | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | From 94cfb4e78bf96e8947ed0c91900e463b99857b30 Mon Sep 17 00:00:00 2001 | 1 | From 703f89e35aaaec5ad781c222ae2dcd30f31320e9 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 |
| @@ -13,7 +13,7 @@ Upstream-Status: Inappropriate [OE specific] | |||
| 13 | 1 file changed, 1 insertion(+), 1 deletion(-) | 13 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 14 | 14 | ||
| 15 | diff --git a/src/corelib/global/qconfig-bootstrapped.h b/src/corelib/global/qconfig-bootstrapped.h | 15 | diff --git a/src/corelib/global/qconfig-bootstrapped.h b/src/corelib/global/qconfig-bootstrapped.h |
| 16 | index f6a5d6b1d4..de0111cc3c 100644 | 16 | index 30166fe41c..e06f75541b 100644 |
| 17 | --- a/src/corelib/global/qconfig-bootstrapped.h | 17 | --- a/src/corelib/global/qconfig-bootstrapped.h |
| 18 | +++ b/src/corelib/global/qconfig-bootstrapped.h | 18 | +++ b/src/corelib/global/qconfig-bootstrapped.h |
| 19 | @@ -91,7 +91,7 @@ | 19 | @@ -91,7 +91,7 @@ |
