diff options
Diffstat (limited to 'recipes-qt/qt5/qtwebengine/0002-Remove-ninja-version-test-for-now-it-fails-for-ninja.patch')
-rw-r--r-- | recipes-qt/qt5/qtwebengine/0002-Remove-ninja-version-test-for-now-it-fails-for-ninja.patch | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/recipes-qt/qt5/qtwebengine/0002-Remove-ninja-version-test-for-now-it-fails-for-ninja.patch b/recipes-qt/qt5/qtwebengine/0002-Remove-ninja-version-test-for-now-it-fails-for-ninja.patch new file mode 100644 index 00000000..89014da3 --- /dev/null +++ b/recipes-qt/qt5/qtwebengine/0002-Remove-ninja-version-test-for-now-it-fails-for-ninja.patch | |||
@@ -0,0 +1,39 @@ | |||
1 | From 5f5afe275757efe77ff48debb040e08001ea5907 Mon Sep 17 00:00:00 2001 | ||
2 | From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com> | ||
3 | Date: Sun, 8 Mar 2020 10:51:48 +0100 | ||
4 | Subject: [PATCH] Remove ninja version test for now - it fails for ninja >= | ||
5 | 1.10.x | ||
6 | MIME-Version: 1.0 | ||
7 | Content-Type: text/plain; charset=UTF-8 | ||
8 | Content-Transfer-Encoding: 8bit | ||
9 | |||
10 | As long as upstream has no better solution, assume we have a ninja version | ||
11 | recent enough | ||
12 | |||
13 | Fixes: | ||
14 | | Found ninja from path: /home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-neon-vfpv4-mortsgna-linux-gnueabi/qtwebengine/5.14.1+gitAUTOINC+73d457481c_a9a20127e8-r0/recipe-sysroot-native/usr/bin/ninja | ||
15 | | + /home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-neon-vfpv4-mortsgna-linux-gnueabi/qtwebengine/5.14.1+gitAUTOINC+73d457481c_a9a20127e8-r0/recipe-sysroot-native/usr/bin/ninja --version | ||
16 | | > 1.10.0 | ||
17 | | Ninja version too old | ||
18 | |||
19 | Upstream-Status: Inappropriate [temporary-hack] | ||
20 | |||
21 | Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> | ||
22 | --- | ||
23 | configure.pri | 3 +-- | ||
24 | 1 file changed, 1 insertion(+), 2 deletions(-) | ||
25 | |||
26 | diff --git a/configure.pri b/configure.pri | ||
27 | index 3a144e3f..6c3f29fd 100644 | ||
28 | --- a/configure.pri | ||
29 | +++ b/configure.pri | ||
30 | @@ -163,8 +163,7 @@ defineTest(qtConfTest_detectNinja) { | ||
31 | !isEmpty(ninja) { | ||
32 | qtLog("Found ninja from path: $$ninja") | ||
33 | qtRunLoggedCommand("$$ninja --version", version)|return(false) | ||
34 | - contains(version, "1.[7-9].*"): return(true) | ||
35 | - qtLog("Ninja version too old") | ||
36 | + return(true) | ||
37 | } | ||
38 | qtLog("Building own ninja") | ||
39 | return(false) | ||