summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-support')
-rw-r--r--meta/recipes-support/icu/files/larger-cmd-size.patch27
-rw-r--r--meta/recipes-support/icu/icu-3.6.inc1
-rw-r--r--meta/recipes-support/icu/icu_3.6.bb2
3 files changed, 29 insertions, 1 deletions
diff --git a/meta/recipes-support/icu/files/larger-cmd-size.patch b/meta/recipes-support/icu/files/larger-cmd-size.patch
new file mode 100644
index 0000000000..74a84f17ba
--- /dev/null
+++ b/meta/recipes-support/icu/files/larger-cmd-size.patch
@@ -0,0 +1,27 @@
1Allocate a larger memory size for cmd
2
3The length of the command line can be longer than 1024 sometimes,
4which will cause a "Segmentation fault" error.
5
6Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
7
8Upstream-Status: Pending
9---
10 tools/pkgdata/pkgdata.c | 2 +-
11 1 file changed, 1 insertion(+), 1 deletion(-)
12
13diff --git a/tools/pkgdata/pkgdata.c b/tools/pkgdata/pkgdata.c
14--- a/tools/pkgdata/pkgdata.c
15+++ b/tools/pkgdata/pkgdata.c
16@@ -439,7 +439,7 @@ main(int argc, char* argv[]) {
17 /* POSIX - execute makefile */
18 static int executeMakefile(const UPKGOptions *o)
19 {
20- char cmd[1024];
21+ char cmd[2048];
22 /*char pwd[1024];*/
23 const char *make;
24 int rc;
25--
261.7.10.2
27
diff --git a/meta/recipes-support/icu/icu-3.6.inc b/meta/recipes-support/icu/icu-3.6.inc
index d3391fea5d..d969caa0ae 100644
--- a/meta/recipes-support/icu/icu-3.6.inc
+++ b/meta/recipes-support/icu/icu-3.6.inc
@@ -6,6 +6,7 @@ BASE_SRC_URI = "ftp://ftp.software.ibm.com/software/globalization/icu/3.6/icu4c-
6 file://gccfix.patch \ 6 file://gccfix.patch \
7 file://fix-parallel-build.patch \ 7 file://fix-parallel-build.patch \
8 file://use-g++-for-linking.patch \ 8 file://use-g++-for-linking.patch \
9 file://larger-cmd-size.patch \
9 " 10 "
10SRC_URI = "${BASE_SRC_URI} \ 11SRC_URI = "${BASE_SRC_URI} \
11 file://noldlibpath.patch \ 12 file://noldlibpath.patch \
diff --git a/meta/recipes-support/icu/icu_3.6.bb b/meta/recipes-support/icu/icu_3.6.bb
index d7be522c03..f941acf81f 100644
--- a/meta/recipes-support/icu/icu_3.6.bb
+++ b/meta/recipes-support/icu/icu_3.6.bb
@@ -1,6 +1,6 @@
1require icu-3.6.inc 1require icu-3.6.inc
2 2
3PR = "r8" 3PR = "r9"
4 4
5SRC_URI[md5sum] = "6243f7a19e03e05403ce84e597510d4c" 5SRC_URI[md5sum] = "6243f7a19e03e05403ce84e597510d4c"
6SRC_URI[sha256sum] = "5135e8d69d6206d320515df7aeee7027711ab1aef9d8dbf29571a97a9746b041" 6SRC_URI[sha256sum] = "5135e8d69d6206d320515df7aeee7027711ab1aef9d8dbf29571a97a9746b041"