summaryrefslogtreecommitdiffstats
path: root/recipes-qt/qt5/qtwebengine/0002-Remove-ninja-version-test-for-now-it-fails-for-ninja.patch
blob: 3e6a63d574c2719b8926147b38d46a4bf8455930 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
From 64aa17e9baa2dac2db74c9bd996526d100168b3a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
Date: Sun, 8 Mar 2020 10:51:48 +0100
Subject: [PATCH] Remove ninja version test for now - it fails for ninja >=
 1.10.x
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

As long as upstream has no better solution, assume we have a ninja version
recent enough

Fixes:
| 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
| + /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
| > 1.10.0
| Ninja version too old

Upstream-Status: Inappropriate [temporary-hack]

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
---
 configure.pri | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/configure.pri b/configure.pri
index f89df527..2d7d2219 100644
--- a/configure.pri
+++ b/configure.pri
@@ -166,8 +166,7 @@ defineTest(qtConfTest_detectNinja) {
     !isEmpty(ninja) {
         qtLog("Found ninja from path: $$ninja")
         qtRunLoggedCommand("$$ninja --version", version)|return(false)
-        contains(version, "1.[7-9].*"): return(true)
-        qtLog("Ninja version too old")
+        return(true)
     }
     qtLog("Building own ninja")
     return(false)