summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/elfutils/files/0004-Disable-the-test-to-convert-euc-jp.patch
blob: 5dee61210ae3278f70168d615bb0d8a0a47c5684 (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
30
31
32
33
34
35
36
37
38
39
40
41
42
From e4ede22e28eaa38d81667ddcb19541ece1a83cf8 Mon Sep 17 00:00:00 2001
From: Hongxu Jia <hongxu.jia@windriver.com>
Date: Tue, 15 Aug 2017 17:24:06 +0800
Subject: [PATCH] Disable the test to convert euc-jp

Remove the test "Test against HP-UX 11.11 bug:
No converter from EUC-JP to UTF-8 is provided"
since we don't support HP-UX and if the euc-jp is not
installed on the host, the dependence will be built without
iconv support and will cause guild-native building fail.

Upstream-Status: Inappropriate [OE specific]

Signed-off-by: Roy Li <rongqing.li@windriver.com>

Rebase to 0.170
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>

---
 m4/iconv.m4 | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/m4/iconv.m4 b/m4/iconv.m4
index a503646..299f1eb 100644
--- a/m4/iconv.m4
+++ b/m4/iconv.m4
@@ -159,6 +159,7 @@ int main ()
       }
   }
 #endif
+#if 0
   /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
      provided.  */
   if (/* Try standardized names.  */
@@ -170,6 +171,7 @@ int main ()
       /* Try HP-UX names.  */
       && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
     result |= 16;
+#endif
   return result;
 }]])],
         [am_cv_func_iconv_works=yes],