aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-qt/qt5/qtbase/0013-configure-bump-path-length-from-256-to-512-character.patch
blob: a215a5de49b1234d25945c13a61fd33acaa199af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
From 2fd1d381e0202296303f296965467f3252d72e25 Mon Sep 17 00:00:00 2001
From: Denys Dmytriyenko <denys@ti.com>
Date: Mon, 11 Nov 2013 20:27:30 -0500
Subject: [PATCH 13/17] configure: bump path length from 256 to 512 characters

Increase the path length that gets hardcoded into generated config.cpp file
from 256 to 512 characters, as nativesdk path can be quite long.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
---
 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure b/configure
index 7d33403..53eb65d 100755
--- a/configure
+++ b/configure
@@ -3578,7 +3578,7 @@ static const char qt_configure_licensed_products_str [256 + 12] = "qt_lcnsprod=$
 static const char qt_configure_installation          [12+11]    = "qt_instdate=`date +%Y-%m-%d`";
 
 /* Installation Info */
-static const char qt_configure_prefix_path_strs[][256 + 12] = {
+static const char qt_configure_prefix_path_strs[][512 + 12] = {
 #ifndef QT_BUILD_QMAKE
     "qt_prfxpath=$QT_SYSROOT_PREFIX",
     "qt_docspath=$QT_SYSROOT_DOCS",
-- 
2.0.0