summaryrefslogtreecommitdiffstats
path: root/recipes-qt/qt5/qtbase/0003-Add-external-hostbindir-option.patch
diff options
context:
space:
mode:
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.patch22
1 files changed, 11 insertions, 11 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 3f7854fd..7e03f740 100644
--- a/recipes-qt/qt5/qtbase/0003-Add-external-hostbindir-option.patch
+++ b/recipes-qt/qt5/qtbase/0003-Add-external-hostbindir-option.patch
@@ -1,4 +1,4 @@
1From 21c595fd0e386bea1a2e2b19323dc517bb2c7333 Mon Sep 17 00:00:00 2001 1From 3648eeddaed0cf31fba226ec713d2321f398974f 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/14] Add -external-hostbindir option 4Subject: [PATCH 03/14] Add -external-hostbindir option
@@ -28,10 +28,10 @@ Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
28 8 files changed, 45 insertions(+), 7 deletions(-) 28 8 files changed, 45 insertions(+), 7 deletions(-)
29 29
30diff --git a/configure b/configure 30diff --git a/configure b/configure
31index 1b328ae..46f7230 100755 31index 0e74f29..7f3f2f0 100755
32--- a/configure 32--- a/configure
33+++ b/configure 33+++ b/configure
34@@ -785,6 +785,7 @@ QT_HOST_BINS= 34@@ -788,6 +788,7 @@ QT_HOST_BINS=
35 QT_HOST_LIBS= 35 QT_HOST_LIBS=
36 QT_HOST_DATA= 36 QT_HOST_DATA=
37 QT_EXT_PREFIX= 37 QT_EXT_PREFIX=
@@ -39,7 +39,7 @@ index 1b328ae..46f7230 100755
39 39
40 #flags for SQL drivers 40 #flags for SQL drivers
41 QT_CFLAGS_PSQL= 41 QT_CFLAGS_PSQL=
42@@ -905,6 +906,7 @@ while [ "$#" -gt 0 ]; do 42@@ -907,6 +908,7 @@ while [ "$#" -gt 0 ]; do
43 -testsdir| \ 43 -testsdir| \
44 -hostdatadir| \ 44 -hostdatadir| \
45 -hostbindir| \ 45 -hostbindir| \
@@ -47,7 +47,7 @@ index 1b328ae..46f7230 100755
47 -hostlibdir| \ 47 -hostlibdir| \
48 -extprefix| \ 48 -extprefix| \
49 -sysroot| \ 49 -sysroot| \
50@@ -1118,6 +1120,9 @@ while [ "$#" -gt 0 ]; do 50@@ -1120,6 +1122,9 @@ while [ "$#" -gt 0 ]; do
51 extprefix) 51 extprefix)
52 QT_EXT_PREFIX="$VAL" 52 QT_EXT_PREFIX="$VAL"
53 ;; 53 ;;
@@ -57,7 +57,7 @@ index 1b328ae..46f7230 100755
57 pkg-config) 57 pkg-config)
58 if [ "$VAL" = "yes" ] || [ "$VAL" = "no" ]; then 58 if [ "$VAL" = "yes" ] || [ "$VAL" = "no" ]; then
59 CFG_PKGCONFIG="$VAL" 59 CFG_PKGCONFIG="$VAL"
60@@ -2226,6 +2231,10 @@ Installation options: 60@@ -2236,6 +2241,10 @@ Installation options:
61 -hostdatadir <dir> . Data used by qmake will be installed to <dir> 61 -hostdatadir <dir> . Data used by qmake will be installed to <dir>
62 (default HOSTPREFIX) 62 (default HOSTPREFIX)
63 63
@@ -68,7 +68,7 @@ index 1b328ae..46f7230 100755
68 Configure options: 68 Configure options:
69 69
70 The defaults (*) are usually acceptable. A plus (+) denotes a default value 70 The defaults (*) are usually acceptable. A plus (+) denotes a default value
71@@ -3133,6 +3142,11 @@ fi 71@@ -3151,6 +3160,11 @@ fi
72 # command line and environment validation 72 # command line and environment validation
73 #------------------------------------------------------------------------------- 73 #-------------------------------------------------------------------------------
74 74
@@ -80,7 +80,7 @@ index 1b328ae..46f7230 100755
80 # update QT_CONFIG to show our current predefined configuration 80 # update QT_CONFIG to show our current predefined configuration
81 CFG_QCONFIG_PATH=$relpath/src/corelib/global/qconfig-${CFG_QCONFIG}.h 81 CFG_QCONFIG_PATH=$relpath/src/corelib/global/qconfig-${CFG_QCONFIG}.h
82 case "$CFG_QCONFIG" in 82 case "$CFG_QCONFIG" in
83@@ -3820,6 +3834,7 @@ static const char qt_configure_prefix_path_strs[][256 + 12] = { 83@@ -3838,6 +3852,7 @@ static const char qt_configure_prefix_path_strs[][256 + 12] = {
84 "qt_hbinpath=$QT_HOST_BINS", 84 "qt_hbinpath=$QT_HOST_BINS",
85 "qt_hlibpath=$QT_HOST_LIBS", 85 "qt_hlibpath=$QT_HOST_LIBS",
86 "qt_hdatpath=$QT_HOST_DATA", 86 "qt_hdatpath=$QT_HOST_DATA",
@@ -135,7 +135,7 @@ index e50485c..71291ad 100644
135 { "QMAKE_XSPEC", QLibraryInfo::TargetSpecPath, true }, 135 { "QMAKE_XSPEC", QLibraryInfo::TargetSpecPath, true },
136 }; 136 };
137diff --git a/qtbase.pro b/qtbase.pro 137diff --git a/qtbase.pro b/qtbase.pro
138index 7576db7..d51af0e 100644 138index 140a137..4e01d5b 100644
139--- a/qtbase.pro 139--- a/qtbase.pro
140+++ b/qtbase.pro 140+++ b/qtbase.pro
141@@ -70,16 +70,22 @@ CONFIG -= qt 141@@ -70,16 +70,22 @@ CONFIG -= qt
@@ -198,7 +198,7 @@ index 17864b5..a14bc0f 100644
198 HostSpecPath, 198 HostSpecPath,
199 LastHostPath = HostSpecPath, 199 LastHostPath = HostSpecPath,
200diff --git a/tools/configure/configureapp.cpp b/tools/configure/configureapp.cpp 200diff --git a/tools/configure/configureapp.cpp b/tools/configure/configureapp.cpp
201index e2fef2c..ab475c3 100644 201index 5ab413a..50a192b 100644
202--- a/tools/configure/configureapp.cpp 202--- a/tools/configure/configureapp.cpp
203+++ b/tools/configure/configureapp.cpp 203+++ b/tools/configure/configureapp.cpp
204@@ -1186,6 +1186,13 @@ void Configure::parseCmdLine() 204@@ -1186,6 +1186,13 @@ void Configure::parseCmdLine()
@@ -224,5 +224,5 @@ index e2fef2c..ab475c3 100644
224 << " \"qt_hostspec=" << hostSpec << "\"," << endl 224 << " \"qt_hostspec=" << hostSpec << "\"," << endl
225 << "#endif" << endl 225 << "#endif" << endl
226-- 226--
2271.8.5.2 2271.8.5.3
228 228