summaryrefslogtreecommitdiffstats
path: root/recipes-qt/qt5/qtbase-git/0003-Add-external-hostbindir-option.patch
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2013-04-28 14:15:13 +0200
committerMartin Jansa <Martin.Jansa@gmail.com>2013-04-28 15:55:10 +0200
commit0a88f92505f27944e985c9f54e64c04b082778fb (patch)
tree0d5910d793652835a6b5fdf48303eaf5263ae1cf /recipes-qt/qt5/qtbase-git/0003-Add-external-hostbindir-option.patch
parent2790c1607e3546447c871dbce7876d8bfd3bca25 (diff)
downloadmeta-qt5-0a88f92505f27944e985c9f54e64c04b082778fb.tar.gz
qtbase: refresh patches and add missing to 5.0.2 and git versions
Diffstat (limited to 'recipes-qt/qt5/qtbase-git/0003-Add-external-hostbindir-option.patch')
-rw-r--r--recipes-qt/qt5/qtbase-git/0003-Add-external-hostbindir-option.patch16
1 files changed, 8 insertions, 8 deletions
diff --git a/recipes-qt/qt5/qtbase-git/0003-Add-external-hostbindir-option.patch b/recipes-qt/qt5/qtbase-git/0003-Add-external-hostbindir-option.patch
index b99eb1cf..e1c56ac3 100644
--- a/recipes-qt/qt5/qtbase-git/0003-Add-external-hostbindir-option.patch
+++ b/recipes-qt/qt5/qtbase-git/0003-Add-external-hostbindir-option.patch
@@ -1,7 +1,7 @@
1From e8fe1934151a47fd3ec86fb0054e137237fa69b7 Mon Sep 17 00:00:00 2001 1From c244c6a89f6f70a2443748475f482cc97e3ac118 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 3/6] Add -external-hostbindir option 4Subject: [PATCH 03/11] 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
@@ -21,7 +21,7 @@ Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
21 8 files changed, 42 insertions(+), 8 deletions(-) 21 8 files changed, 42 insertions(+), 8 deletions(-)
22 22
23diff --git a/configure b/configure 23diff --git a/configure b/configure
24index 666576f..93dbfab 100755 24index 7dea731..65f4d26 100755
25--- a/configure 25--- a/configure
26+++ b/configure 26+++ b/configure
27@@ -1034,6 +1034,7 @@ CFG_GCC_SYSROOT="yes" 27@@ -1034,6 +1034,7 @@ CFG_GCC_SYSROOT="yes"
@@ -98,10 +98,10 @@ index 8cd2473..876f657 100644
98 exists($$eval($$1).bat) { 98 exists($$eval($$1).bat) {
99 $$1 = $$eval($$1).bat 99 $$1 = $$eval($$1).bat
100diff --git a/mkspecs/features/qt_tool.prf b/mkspecs/features/qt_tool.prf 100diff --git a/mkspecs/features/qt_tool.prf b/mkspecs/features/qt_tool.prf
101index 46d031f..5758604 100644 101index 0a58880..c110ea5 100644
102--- a/mkspecs/features/qt_tool.prf 102--- a/mkspecs/features/qt_tool.prf
103+++ b/mkspecs/features/qt_tool.prf 103+++ b/mkspecs/features/qt_tool.prf
104@@ -37,7 +37,7 @@ load(qt_common) 104@@ -16,7 +16,7 @@ CONFIG += console
105 # If we are doing a prefix build, create a "module" pri which enables 105 # If we are doing a prefix build, create a "module" pri which enables
106 # qtPrepareTool() to work with the non-installed build. 106 # qtPrepareTool() to work with the non-installed build.
107 # Non-bootstrapped tools always need this because of the environment setup. 107 # Non-bootstrapped tools always need this because of the environment setup.
@@ -189,10 +189,10 @@ index 1a00a14..7e4829c 100644
189 HostSpecPath, 189 HostSpecPath,
190 LastHostPath = HostSpecPath, 190 LastHostPath = HostSpecPath,
191diff --git a/tools/configure/configureapp.cpp b/tools/configure/configureapp.cpp 191diff --git a/tools/configure/configureapp.cpp b/tools/configure/configureapp.cpp
192index dc11c0d..6d79631 100644 192index a18aac3..57409b1 100644
193--- a/tools/configure/configureapp.cpp 193--- a/tools/configure/configureapp.cpp
194+++ b/tools/configure/configureapp.cpp 194+++ b/tools/configure/configureapp.cpp
195@@ -1167,6 +1167,13 @@ void Configure::parseCmdLine() 195@@ -1173,6 +1173,13 @@ void Configure::parseCmdLine()
196 dictionary[ "QT_HOST_DATA" ] = configCmdLine.at(i); 196 dictionary[ "QT_HOST_DATA" ] = configCmdLine.at(i);
197 } 197 }
198 198
@@ -206,7 +206,7 @@ index dc11c0d..6d79631 100644
206 else if (configCmdLine.at(i) == "-make-tool") { 206 else if (configCmdLine.at(i) == "-make-tool") {
207 ++i; 207 ++i;
208 if (i == argCount) 208 if (i == argCount)
209@@ -3763,6 +3770,7 @@ void Configure::generateQConfigCpp() 209@@ -3775,6 +3782,7 @@ void Configure::generateQConfigCpp()
210 << " \"qt_hpfxpath=" << formatPath(dictionary["QT_HOST_PREFIX"]) << "\"," << endl 210 << " \"qt_hpfxpath=" << formatPath(dictionary["QT_HOST_PREFIX"]) << "\"," << endl
211 << " \"qt_hbinpath=" << formatPath(dictionary["QT_HOST_BINS"]) << "\"," << endl 211 << " \"qt_hbinpath=" << formatPath(dictionary["QT_HOST_BINS"]) << "\"," << endl
212 << " \"qt_hdatpath=" << formatPath(dictionary["QT_HOST_DATA"]) << "\"," << endl 212 << " \"qt_hdatpath=" << formatPath(dictionary["QT_HOST_DATA"]) << "\"," << endl