blob: 5dee61210ae3278f70168d615bb0d8a0a47c5684 [file] [log] [blame]
Brad Bishop19323692019-04-05 15:28:33 -04001From e4ede22e28eaa38d81667ddcb19541ece1a83cf8 Mon Sep 17 00:00:00 2001
Brad Bishopd7bf8c12018-02-25 22:55:05 -05002From: Hongxu Jia <hongxu.jia@windriver.com>
3Date: Tue, 15 Aug 2017 17:24:06 +0800
Brad Bishop19323692019-04-05 15:28:33 -04004Subject: [PATCH] Disable the test to convert euc-jp
Brad Bishopd7bf8c12018-02-25 22:55:05 -05005
6Remove the test "Test against HP-UX 11.11 bug:
7No converter from EUC-JP to UTF-8 is provided"
8since we don't support HP-UX and if the euc-jp is not
9installed on the host, the dependence will be built without
10iconv support and will cause guild-native building fail.
11
12Upstream-Status: Inappropriate [OE specific]
13
14Signed-off-by: Roy Li <rongqing.li@windriver.com>
15
16Rebase to 0.170
17Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Brad Bishop19323692019-04-05 15:28:33 -040018
Brad Bishopd7bf8c12018-02-25 22:55:05 -050019---
20 m4/iconv.m4 | 2 ++
21 1 file changed, 2 insertions(+)
22
23diff --git a/m4/iconv.m4 b/m4/iconv.m4
24index a503646..299f1eb 100644
25--- a/m4/iconv.m4
26+++ b/m4/iconv.m4
27@@ -159,6 +159,7 @@ int main ()
28 }
29 }
30 #endif
31+#if 0
32 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
33 provided. */
34 if (/* Try standardized names. */
35@@ -170,6 +171,7 @@ int main ()
36 /* Try HP-UX names. */
37 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
38 result |= 16;
39+#endif
40 return result;
41 }]])],
42 [am_cv_func_iconv_works=yes],