1From 20cadec59408c63adcdb41619a886422e34e6410 Mon Sep 17 00:00:00 2001
2From: Denys Dmytriyenko <denys@ti.com>
3Date: Tue, 25 Aug 2015 10:05:15 -0400
4Subject: [PATCH] configure: bump path length from 256 to 512 characters
5
6Increase the path length that gets hardcoded into generated config.cpp file
7from 256 to 512 characters, as nativesdk path can be quite long.
8
9Also update length of EXT_PREFIX and HOST_PREFIX now.
10
11Change-Id: If98dd57160efe9c98c36148cdf872f50b3d38118
12Signed-off-by: Denys Dmytriyenko <denys@ti.com>
13Upstream-Status: Pending
14---
15 configure.pri | 6 +++---
16 1 file changed, 3 insertions(+), 3 deletions(-)
17
18diff --git a/configure.pri b/configure.pri
19index 49755f7abf..f84862d1ca 100644
20--- a/configure.pri
21+++ b/configure.pri
22@@ -883,10 +883,10 @@ defineTest(qtConfOutput_preparePaths) {
23
24     $${currentConfig}.output.qconfigSource = \
25         "/* Installation Info */" \
26-        "static const char qt_configure_prefix_path_str  [12+256] = \"qt_prfxpath=$$config.input.prefix\";" \
27+        "static const char qt_configure_prefix_path_str  [12+512] = \"qt_prfxpath=$$config.input.prefix\";" \
28         "$${LITERAL_HASH}ifdef QT_BUILD_QMAKE" \
29-        "static const char qt_configure_ext_prefix_path_str   [12+256] = \"qt_epfxpath=$$config.input.extprefix\";" \
30-        "static const char qt_configure_host_prefix_path_str  [12+256] = \"qt_hpfxpath=$$config.input.hostprefix\";" \
31+        "static const char qt_configure_ext_prefix_path_str   [12+512] = \"qt_epfxpath=$$config.input.extprefix\";" \
32+        "static const char qt_configure_host_prefix_path_str  [12+512] = \"qt_hpfxpath=$$config.input.hostprefix\";" \
33         "$${LITERAL_HASH}endif" \
34         "" \
35         "static const short qt_configure_str_offsets[] = {" \
36