From patchwork Fri Nov 30 10:33:31 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [2/3] qt4-native: make qt4-native work with long building path Date: Fri, 30 Nov 2012 10:33:31 -0000 From: Qi.Chen@windriver.com X-Patchwork-Id: 39951 Message-Id: To: Cc: Zhenfeng.Zhao@windriver.com From: Chen Qi If the TMPDIR has more than 256 chars, building qt4-native fails. This violates the 410 length limit of TMPDIR. This patch makes building qt4-native succeed with a long building path (410 for example) by extending its static arrays' sizes by 256 chars. [YOCTO #2766] Signed-off-by: Chen Qi --- ...e-qt4-native-work-with-long-building-path.patch | 82 ++++++++++++++++++++ meta/recipes-qt/qt4/qt4-native.inc | 3 +- 2 files changed, 84 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-qt/qt4/qt4-4.8.3/0001-make-qt4-native-work-with-long-building-path.patch diff --git a/meta/recipes-qt/qt4/qt4-4.8.3/0001-make-qt4-native-work-with-long-building-path.patch b/meta/recipes-qt/qt4/qt4-4.8.3/0001-make-qt4-native-work-with-long-building-path.patch new file mode 100644 index 0000000..74f4e1a --- /dev/null +++ b/meta/recipes-qt/qt4/qt4-4.8.3/0001-make-qt4-native-work-with-long-building-path.patch @@ -0,0 +1,82 @@ +Upstream-Status: Inappropriate [configuration] + +Make qt4-native work with long building path. + +Signed-off-by: Chen Qi + +Index: configure +===================================================================== +--- a/configure ++++ b/configure +@@ -4764,8 +4764,8 @@ DEMOS_PATH_STR=`"$relpath/config.tests/unix/padstring" 268 "qt_demopath=$QT_INST + TODAY=`date +%Y-%m-%d` + cat > "$outpath/src/corelib/global/qconfig.cpp.new" <> "$outpath/src/corelib/global/qconfig.cpp.new" <