summaryrefslogtreecommitdiffstats
path: root/meta/recipes-qt/qt4/qt4-4.8.4/0026-Don-t-overwrite-QMAKE_QT_CONFIG-with-empty-value.patch
diff options
context:
space:
mode:
authorJonathan Liu <net147@gmail.com>2013-07-04 09:50:32 +1000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-07-05 15:44:13 +0100
commit0463e5c173fed7f081760dea6e8f1bbe4cdbb2e8 (patch)
treedbf652bc6adf22bc60c0fc5f9d77f21de9f5fa5b /meta/recipes-qt/qt4/qt4-4.8.4/0026-Don-t-overwrite-QMAKE_QT_CONFIG-with-empty-value.patch
parent262fa7ee4608c02e41092d3dccaf81463dd4f833 (diff)
downloadpoky-0463e5c173fed7f081760dea6e8f1bbe4cdbb2e8.tar.gz
qt4: upgrade to 4.8.5
Removed patches integrated upstream. Added INSANE_SKIP libdir for examples packages as it includes plugin shared libraries outside of libdir. (From OE-Core rev: f119566477243ce43b727492dc78b9cb3dd76de4) Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-qt/qt4/qt4-4.8.4/0026-Don-t-overwrite-QMAKE_QT_CONFIG-with-empty-value.patch')
-rw-r--r--meta/recipes-qt/qt4/qt4-4.8.4/0026-Don-t-overwrite-QMAKE_QT_CONFIG-with-empty-value.patch39
1 files changed, 0 insertions, 39 deletions
diff --git a/meta/recipes-qt/qt4/qt4-4.8.4/0026-Don-t-overwrite-QMAKE_QT_CONFIG-with-empty-value.patch b/meta/recipes-qt/qt4/qt4-4.8.4/0026-Don-t-overwrite-QMAKE_QT_CONFIG-with-empty-value.patch
deleted file mode 100644
index a37e35f980..0000000000
--- a/meta/recipes-qt/qt4/qt4-4.8.4/0026-Don-t-overwrite-QMAKE_QT_CONFIG-with-empty-value.patch
+++ /dev/null
@@ -1,39 +0,0 @@
1From 1c75ea0332054c420efd676c147e45eee43e0118 Mon Sep 17 00:00:00 2001
2From: Jonathan Liu <net147@gmail.com>
3Date: Thu, 6 Jun 2013 12:42:13 +1000
4Subject: [PATCH] Don't overwrite QMAKE_QT_CONFIG with empty value
5
6If the mkspec sets QMAKE_QT_CONFIG, QMAKE_QT_CONFIG may be overwritten
7with an empty value from .qmake.cache. Avoid this by first checking
8if the value from .qmake.cache is not empty before assigning it to
9QMAKE_QT_CONFIG.
10
11Upstream-Status: Submitted
12https://codereview.qt-project.org/#change,58109
13
14Change-Id: I95fa630139b8798156a2fb15d0dde630a0a53a0a
15Signed-off-by: Jonathan Liu <net147@gmail.com>
16---
17 mkspecs/features/qt_config.prf | 6 +++++-
18 1 file changed, 5 insertions(+), 1 deletion(-)
19
20diff --git a/mkspecs/features/qt_config.prf b/mkspecs/features/qt_config.prf
21index fc14cdd..e059b7e 100644
22--- a/mkspecs/features/qt_config.prf
23+++ b/mkspecs/features/qt_config.prf
24@@ -1,7 +1,11 @@
25 # This file is loaded by the mkspecs, before .qmake.cache has been loaded.
26 # Consequently, we have to do some stunts to get values out of the cache.
27
28-exists($$_QMAKE_CACHE_):QMAKE_QT_CONFIG = $$fromfile($$_QMAKE_CACHE_, QMAKE_QT_CONFIG)
29+exists($$_QMAKE_CACHE_) {
30+ qdd = $$fromfile($$_QMAKE_CACHE_, QMAKE_QT_CONFIG)
31+ !isEmpty(qdd): QMAKE_QT_CONFIG = $$qdd
32+ unset(qdd)
33+}
34 isEmpty(QMAKE_QT_CONFIG)|!exists($$QMAKE_QT_CONFIG) {
35 qdd = $$QT_BUILD_TREE
36 isEmpty(qdd):exists($$_QMAKE_CACHE_): qdd = $$fromfile($$_QMAKE_CACHE_, QT_BUILD_TREE)
37--
381.8.2.3
39