diff options
author | Patrick Williams <patrick@stwcx.xyz> | 2015-09-15 22:41:29 +0300 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2015-09-15 22:41:29 +0300 |
commit | 21f9b84b4b729fbd7acbd465e7a3f726e4d20f91 (patch) | |
tree | eb2d091d427ca0813b445509d59cc8e27e8ad25f /yocto-poky/meta/recipes-qt/qt4/qt4-4.8.7/0021-configure-make-qt4-native-work-with-long-building-pa.patch | |
parent | 101cef31e2bf54c678501155cd2106251acbd076 (diff) | |
parent | c124f4f2e04dca16a428a76c89677328bc7bf908 (diff) | |
download | openbmc-21f9b84b4b729fbd7acbd465e7a3f726e4d20f91.tar.xz |
Merge commit 'c124f4f2e04dca16a428a76c89677328bc7bf908' as 'yocto-poky'
Diffstat (limited to 'yocto-poky/meta/recipes-qt/qt4/qt4-4.8.7/0021-configure-make-qt4-native-work-with-long-building-pa.patch')
-rw-r--r-- | yocto-poky/meta/recipes-qt/qt4/qt4-4.8.7/0021-configure-make-qt4-native-work-with-long-building-pa.patch | 95 |
1 files changed, 95 insertions, 0 deletions
diff --git a/yocto-poky/meta/recipes-qt/qt4/qt4-4.8.7/0021-configure-make-qt4-native-work-with-long-building-pa.patch b/yocto-poky/meta/recipes-qt/qt4/qt4-4.8.7/0021-configure-make-qt4-native-work-with-long-building-pa.patch new file mode 100644 index 000000000..dbc90227a --- /dev/null +++ b/yocto-poky/meta/recipes-qt/qt4/qt4-4.8.7/0021-configure-make-qt4-native-work-with-long-building-pa.patch @@ -0,0 +1,95 @@ +From 6742ac7ea6fd1e9c82ecb5305f84e721242f857d Mon Sep 17 00:00:00 2001 +From: Chen Qi <Qi.Chen@windriver.com> +Date: Wed, 5 Dec 2012 07:48:15 +0200 +Subject: [PATCH 21/21] configure: make qt4-native work with long building + path. + +Upstream-Status: Submitted + +Reference: https://bugreports.qt-project.org/browse/QTBUG-28292 + +Signed-off-by: Chen Qi <Qi.Chen@windriver.com> +Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> +--- + configure | 52 ++++++++++++++++++++++++++-------------------------- + 1 file changed, 26 insertions(+), 26 deletions(-) + +diff --git a/configure b/configure +index a4a42f1..2358563 100755 +--- a/configure ++++ b/configure +@@ -4779,8 +4779,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" <<EOF + /* License Info */ +-static const char qt_configure_licensee_str [256 + 12] = "$LICENSE_USER_STR"; +-static const char qt_configure_licensed_products_str [256 + 12] = "$LICENSE_PRODUCTS_STR"; ++static const char qt_configure_licensee_str [512 + 12] = "$LICENSE_USER_STR"; ++static const char qt_configure_licensed_products_str [512 + 12] = "$LICENSE_PRODUCTS_STR"; + + /* Installation date */ + static const char qt_configure_installation [12+11] = "qt_instdate=$TODAY"; +@@ -4805,36 +4805,36 @@ if [ ! -z "$QT_HOST_PREFIX" ]; then + + #if defined(QT_BOOTSTRAPPED) || defined(QT_BUILD_QMAKE) + /* Installation Info */ +-static const char qt_configure_prefix_path_str [256 + 12] = "$HOSTPREFIX_PATH_STR"; +-static const char qt_configure_documentation_path_str[256 + 12] = "$HOSTDOCUMENTATION_PATH_STR"; +-static const char qt_configure_headers_path_str [256 + 12] = "$HOSTHEADERS_PATH_STR"; +-static const char qt_configure_libraries_path_str [256 + 12] = "$HOSTLIBRARIES_PATH_STR"; +-static const char qt_configure_binaries_path_str [256 + 12] = "$HOSTBINARIES_PATH_STR"; +-static const char qt_configure_plugins_path_str [256 + 12] = "$HOSTPLUGINS_PATH_STR"; +-static const char qt_configure_imports_path_str [256 + 12] = "$HOSTIMPORTS_PATH_STR"; +-static const char qt_configure_data_path_str [256 + 12] = "$HOSTDATA_PATH_STR"; +-static const char qt_configure_translations_path_str [256 + 12] = "$HOSTTRANSLATIONS_PATH_STR"; +-static const char qt_configure_settings_path_str [256 + 12] = "$HOSTSETTINGS_PATH_STR"; +-static const char qt_configure_examples_path_str [256 + 12] = "$HOSTEXAMPLES_PATH_STR"; +-static const char qt_configure_demos_path_str [256 + 12] = "$HOSTDEMOS_PATH_STR"; ++static const char qt_configure_prefix_path_str [512 + 12] = "$HOSTPREFIX_PATH_STR"; ++static const char qt_configure_documentation_path_str[512 + 12] = "$HOSTDOCUMENTATION_PATH_STR"; ++static const char qt_configure_headers_path_str [512 + 12] = "$HOSTHEADERS_PATH_STR"; ++static const char qt_configure_libraries_path_str [512 + 12] = "$HOSTLIBRARIES_PATH_STR"; ++static const char qt_configure_binaries_path_str [512 + 12] = "$HOSTBINARIES_PATH_STR"; ++static const char qt_configure_plugins_path_str [512 + 12] = "$HOSTPLUGINS_PATH_STR"; ++static const char qt_configure_imports_path_str [512 + 12] = "$HOSTIMPORTS_PATH_STR"; ++static const char qt_configure_data_path_str [512 + 12] = "$HOSTDATA_PATH_STR"; ++static const char qt_configure_translations_path_str [512 + 12] = "$HOSTTRANSLATIONS_PATH_STR"; ++static const char qt_configure_settings_path_str [512 + 12] = "$HOSTSETTINGS_PATH_STR"; ++static const char qt_configure_examples_path_str [512 + 12] = "$HOSTEXAMPLES_PATH_STR"; ++static const char qt_configure_demos_path_str [512 + 12] = "$HOSTDEMOS_PATH_STR"; + #else // QT_BOOTSTRAPPED + EOF + fi + + cat >> "$outpath/src/corelib/global/qconfig.cpp.new" <<EOF + /* Installation Info */ +-static const char qt_configure_prefix_path_str [256 + 12] = "$PREFIX_PATH_STR"; +-static const char qt_configure_documentation_path_str[256 + 12] = "$DOCUMENTATION_PATH_STR"; +-static const char qt_configure_headers_path_str [256 + 12] = "$HEADERS_PATH_STR"; +-static const char qt_configure_libraries_path_str [256 + 12] = "$LIBRARIES_PATH_STR"; +-static const char qt_configure_binaries_path_str [256 + 12] = "$BINARIES_PATH_STR"; +-static const char qt_configure_plugins_path_str [256 + 12] = "$PLUGINS_PATH_STR"; +-static const char qt_configure_imports_path_str [256 + 12] = "$IMPORTS_PATH_STR"; +-static const char qt_configure_data_path_str [256 + 12] = "$DATA_PATH_STR"; +-static const char qt_configure_translations_path_str [256 + 12] = "$TRANSLATIONS_PATH_STR"; +-static const char qt_configure_settings_path_str [256 + 12] = "$SETTINGS_PATH_STR"; +-static const char qt_configure_examples_path_str [256 + 12] = "$EXAMPLES_PATH_STR"; +-static const char qt_configure_demos_path_str [256 + 12] = "$DEMOS_PATH_STR"; ++static const char qt_configure_prefix_path_str [512 + 12] = "$PREFIX_PATH_STR"; ++static const char qt_configure_documentation_path_str[512 + 12] = "$DOCUMENTATION_PATH_STR"; ++static const char qt_configure_headers_path_str [512 + 12] = "$HEADERS_PATH_STR"; ++static const char qt_configure_libraries_path_str [512 + 12] = "$LIBRARIES_PATH_STR"; ++static const char qt_configure_binaries_path_str [512 + 12] = "$BINARIES_PATH_STR"; ++static const char qt_configure_plugins_path_str [512 + 12] = "$PLUGINS_PATH_STR"; ++static const char qt_configure_imports_path_str [512 + 12] = "$IMPORTS_PATH_STR"; ++static const char qt_configure_data_path_str [512 + 12] = "$DATA_PATH_STR"; ++static const char qt_configure_translations_path_str [512 + 12] = "$TRANSLATIONS_PATH_STR"; ++static const char qt_configure_settings_path_str [512 + 12] = "$SETTINGS_PATH_STR"; ++static const char qt_configure_examples_path_str [512 + 12] = "$EXAMPLES_PATH_STR"; ++static const char qt_configure_demos_path_str [512 + 12] = "$DEMOS_PATH_STR"; + EOF + + if [ ! -z "$QT_HOST_PREFIX" ]; then +-- +1.8.0 + |