From a635553cf46a7e43e81eab1a1baeae98312881d2 Mon Sep 17 00:00:00 2001 From: Chen Qi Date: Fri, 30 Nov 2012 10:33:31 +0000 Subject: qt4-native: make qt4-native work with long building path 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 Signed-off-by: Saul Wold Signed-off-by: Richard Purdie --- ...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 (limited to 'meta/recipes-qt') 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 0000000000..74f4e1a6f4 --- /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" <