diff options
Diffstat (limited to 'meta/recipes-devtools/elfutils/files/0004-Disable-the-test-to-convert-euc-jp.patch')
-rw-r--r-- | meta/recipes-devtools/elfutils/files/0004-Disable-the-test-to-convert-euc-jp.patch | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/meta/recipes-devtools/elfutils/files/0004-Disable-the-test-to-convert-euc-jp.patch b/meta/recipes-devtools/elfutils/files/0004-Disable-the-test-to-convert-euc-jp.patch new file mode 100644 index 0000000000..d893ad68f6 --- /dev/null +++ b/meta/recipes-devtools/elfutils/files/0004-Disable-the-test-to-convert-euc-jp.patch | |||
@@ -0,0 +1,44 @@ | |||
1 | From bb7ed11950101798aae82f7fda8b3dcb05f755c5 Mon Sep 17 00:00:00 2001 | ||
2 | From: Hongxu Jia <hongxu.jia@windriver.com> | ||
3 | Date: Tue, 15 Aug 2017 17:24:06 +0800 | ||
4 | Subject: [PATCH 4/7] Disable the test to convert euc-jp | ||
5 | |||
6 | Remove the test "Test against HP-UX 11.11 bug: | ||
7 | No converter from EUC-JP to UTF-8 is provided" | ||
8 | since we don't support HP-UX and if the euc-jp is not | ||
9 | installed on the host, the dependence will be built without | ||
10 | iconv support and will cause guild-native building fail. | ||
11 | |||
12 | Upstream-Status: Inappropriate [OE specific] | ||
13 | |||
14 | Signed-off-by: Roy Li <rongqing.li@windriver.com> | ||
15 | |||
16 | Rebase to 0.170 | ||
17 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> | ||
18 | --- | ||
19 | m4/iconv.m4 | 2 ++ | ||
20 | 1 file changed, 2 insertions(+) | ||
21 | |||
22 | diff --git a/m4/iconv.m4 b/m4/iconv.m4 | ||
23 | index a503646..299f1eb 100644 | ||
24 | --- a/m4/iconv.m4 | ||
25 | +++ b/m4/iconv.m4 | ||
26 | @@ -159,6 +159,7 @@ int main () | ||
27 | } | ||
28 | } | ||
29 | #endif | ||
30 | +#if 0 | ||
31 | /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is | ||
32 | provided. */ | ||
33 | if (/* Try standardized names. */ | ||
34 | @@ -170,6 +171,7 @@ int main () | ||
35 | /* Try HP-UX names. */ | ||
36 | && iconv_open ("utf8", "eucJP") == (iconv_t)(-1)) | ||
37 | result |= 16; | ||
38 | +#endif | ||
39 | return result; | ||
40 | }]])], | ||
41 | [am_cv_func_iconv_works=yes], | ||
42 | -- | ||
43 | 1.8.3.1 | ||
44 | |||