summaryrefslogtreecommitdiffstats
path: root/recipes-qt/qt5/qtbase/0003-Add-external-hostbindir-option.patch
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2015-10-19 15:26:34 +0200
committerMartin Jansa <Martin.Jansa@gmail.com>2015-11-11 13:24:53 +0100
commit178a817e6f4604e0f4b24a416d5e83b428cbabe7 (patch)
tree52cbe707471b8ca0002d315c9b970e994854b498 /recipes-qt/qt5/qtbase/0003-Add-external-hostbindir-option.patch
parentf39bc18eae46e0df30580f0e5992d069f9c881be (diff)
downloadmeta-qt5-178a817e6f4604e0f4b24a416d5e83b428cbabe7.tar.gz
qt5: upgrade to latest revision in 5.6 branch (5.6.0-alpha1+)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'recipes-qt/qt5/qtbase/0003-Add-external-hostbindir-option.patch')
-rw-r--r--recipes-qt/qt5/qtbase/0003-Add-external-hostbindir-option.patch34
1 files changed, 17 insertions, 17 deletions
diff --git a/recipes-qt/qt5/qtbase/0003-Add-external-hostbindir-option.patch b/recipes-qt/qt5/qtbase/0003-Add-external-hostbindir-option.patch
index e969f6fa..ea152790 100644
--- a/recipes-qt/qt5/qtbase/0003-Add-external-hostbindir-option.patch
+++ b/recipes-qt/qt5/qtbase/0003-Add-external-hostbindir-option.patch
@@ -1,7 +1,7 @@
1From 9529fdce0bd5516f86de1cb18aa6d18a66317ba5 Mon Sep 17 00:00:00 2001 1From 175d86ddb36117c0ca2ff47ae42693980dbfa098 Mon Sep 17 00:00:00 2001
2From: Martin Jansa <Martin.Jansa@gmail.com> 2From: Martin Jansa <Martin.Jansa@gmail.com>
3Date: Sat, 6 Apr 2013 13:15:07 +0200 3Date: Sat, 6 Apr 2013 13:15:07 +0200
4Subject: [PATCH 03/10] Add -external-hostbindir option 4Subject: [PATCH 3/9] Add -external-hostbindir option
5 5
6* when cross-compiling it's sometimes useful to use existing tools from machine 6* when cross-compiling it's sometimes useful to use existing tools from machine
7 (or in OpenEmbedded built with separate native recipe) when building for target 7 (or in OpenEmbedded built with separate native recipe) when building for target
@@ -29,18 +29,18 @@ Conflicts:
29--- 29---
30 configure | 14 ++++++++++++++ 30 configure | 14 ++++++++++++++
31 mkspecs/features/qt_functions.prf | 6 +++++- 31 mkspecs/features/qt_functions.prf | 6 +++++-
32 mkspecs/features/qt_tool.prf | 4 ++-- 32 mkspecs/features/qt_tool.prf | 5 +++--
33 qtbase.pro | 13 ++++++++++--- 33 qtbase.pro | 13 ++++++++++---
34 src/corelib/Qt5CoreConfigExtras.cmake.in | 6 +++--- 34 src/corelib/Qt5CoreConfigExtras.cmake.in | 6 +++---
35 src/dbus/Qt5DBusConfigExtras.cmake.in | 4 ++-- 35 src/dbus/Qt5DBusConfigExtras.cmake.in | 4 ++--
36 src/widgets/Qt5WidgetsConfigExtras.cmake.in | 2 +- 36 src/widgets/Qt5WidgetsConfigExtras.cmake.in | 2 +-
37 7 files changed, 37 insertions(+), 12 deletions(-) 37 7 files changed, 38 insertions(+), 12 deletions(-)
38 38
39diff --git a/configure b/configure 39diff --git a/configure b/configure
40index e1929e7..a757ce5 100755 40index 9897fe6..aa89d30 100755
41--- a/configure 41--- a/configure
42+++ b/configure 42+++ b/configure
43@@ -809,6 +809,7 @@ QT_HOST_BINS= 43@@ -808,6 +808,7 @@ QT_HOST_BINS=
44 QT_HOST_LIBS= 44 QT_HOST_LIBS=
45 QT_HOST_DATA= 45 QT_HOST_DATA=
46 QT_EXT_PREFIX= 46 QT_EXT_PREFIX=
@@ -48,7 +48,7 @@ index e1929e7..a757ce5 100755
48 48
49 #flags for SQL drivers 49 #flags for SQL drivers
50 QT_CFLAGS_PSQL= 50 QT_CFLAGS_PSQL=
51@@ -928,6 +929,7 @@ while [ "$#" -gt 0 ]; do 51@@ -927,6 +928,7 @@ while [ "$#" -gt 0 ]; do
52 -testsdir| \ 52 -testsdir| \
53 -hostdatadir| \ 53 -hostdatadir| \
54 -hostbindir| \ 54 -hostbindir| \
@@ -66,7 +66,7 @@ index e1929e7..a757ce5 100755
66 pkg-config) 66 pkg-config)
67 if [ "$VAL" = "yes" ] || [ "$VAL" = "no" ]; then 67 if [ "$VAL" = "yes" ] || [ "$VAL" = "no" ]; then
68 CFG_PKGCONFIG="$VAL" 68 CFG_PKGCONFIG="$VAL"
69@@ -2383,6 +2388,10 @@ Installation options: 69@@ -2419,6 +2424,10 @@ Installation options:
70 -hostdatadir <dir> . Data used by qmake will be installed to <dir> 70 -hostdatadir <dir> . Data used by qmake will be installed to <dir>
71 (default HOSTPREFIX) 71 (default HOSTPREFIX)
72 72
@@ -77,7 +77,7 @@ index e1929e7..a757ce5 100755
77 Configure options: 77 Configure options:
78 78
79 The defaults (*) are usually acceptable. A plus (+) denotes a default value 79 The defaults (*) are usually acceptable. A plus (+) denotes a default value
80@@ -3110,6 +3119,11 @@ fi 80@@ -3158,6 +3167,11 @@ fi
81 # command line and environment validation 81 # command line and environment validation
82 #------------------------------------------------------------------------------- 82 #-------------------------------------------------------------------------------
83 83
@@ -90,10 +90,10 @@ index e1929e7..a757ce5 100755
90 CFG_QCONFIG_PATH=$relpath/src/corelib/global/qconfig-${CFG_QCONFIG}.h 90 CFG_QCONFIG_PATH=$relpath/src/corelib/global/qconfig-${CFG_QCONFIG}.h
91 case "$CFG_QCONFIG" in 91 case "$CFG_QCONFIG" in
92diff --git a/mkspecs/features/qt_functions.prf b/mkspecs/features/qt_functions.prf 92diff --git a/mkspecs/features/qt_functions.prf b/mkspecs/features/qt_functions.prf
93index a1c4996..fca679c 100644 93index 6616aa4..3d40bf9 100644
94--- a/mkspecs/features/qt_functions.prf 94--- a/mkspecs/features/qt_functions.prf
95+++ b/mkspecs/features/qt_functions.prf 95+++ b/mkspecs/features/qt_functions.prf
96@@ -198,7 +198,11 @@ defineTest(qtAddRpathLink) { 96@@ -57,7 +57,11 @@ defineTest(qtHaveModule) {
97 defineTest(qtPrepareTool) { 97 defineTest(qtPrepareTool) {
98 cmd = $$eval(QT_TOOL.$${2}.binary) 98 cmd = $$eval(QT_TOOL.$${2}.binary)
99 isEmpty(cmd) { 99 isEmpty(cmd) {
@@ -107,15 +107,15 @@ index a1c4996..fca679c 100644
107 cmd = perl -w $$system_path($${cmd}.pl) 107 cmd = perl -w $$system_path($${cmd}.pl)
108 } else: contains(QMAKE_HOST.os, Windows) { 108 } else: contains(QMAKE_HOST.os, Windows) {
109diff --git a/mkspecs/features/qt_tool.prf b/mkspecs/features/qt_tool.prf 109diff --git a/mkspecs/features/qt_tool.prf b/mkspecs/features/qt_tool.prf
110index 1d3e88c..9b26adf 100644 110index 3f0301a..7dc66de 100644
111--- a/mkspecs/features/qt_tool.prf 111--- a/mkspecs/features/qt_tool.prf
112+++ b/mkspecs/features/qt_tool.prf 112+++ b/mkspecs/features/qt_tool.prf
113@@ -12,11 +12,11 @@ 113@@ -14,10 +14,11 @@ load(qt_app)
114 load(qt_app)
115
116 CONFIG += console 114 CONFIG += console
117+QT_EXTERNAL_HOST_BINS = $$[QT_EXTERNAL_HOST_BINS] 115 DEFINES *= QT_USE_QSTRINGBUILDER
118 116
117+QT_EXTERNAL_HOST_BINS = $$[QT_EXTERNAL_HOST_BINS]
118+
119 # If we are doing a prefix build, create a "module" pri which enables 119 # If we are doing a prefix build, create a "module" pri which enables
120 # qtPrepareTool() to work with the non-installed build. 120 # qtPrepareTool() to work with the non-installed build.
121-# Non-bootstrapped tools always need this because of the environment setup. 121-# Non-bootstrapped tools always need this because of the environment setup.
@@ -225,5 +225,5 @@ index 99d87e2..5621dc0 100644
225 _qt5_Widgets_check_file_exists(${imported_location}) 225 _qt5_Widgets_check_file_exists(${imported_location})
226 226
227-- 227--
2282.6.1 2282.6.2
229 229