summaryrefslogtreecommitdiffstats
path: root/recipes-qt/qt5/qtbase/0007-configure-bump-path-length-from-256-to-512-character.patch
blob: 1bbda7580802f2b5e120e349cd74ce2d2ec15e24 (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 24e36583f44a17ce6d21e4392dd4f6a83ea9846a Mon Sep 17 00:00:00 2001
From: Denys Dmytriyenko <denys@ti.com>
Date: Mon, 11 Nov 2013 20:27:30 -0500
Subject: [PATCH 07/13] 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 996ce50..a40d471 100755
--- a/configure
+++ b/configure
@@ -3622,7 +3622,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.3.1