diff options
Diffstat (limited to 'meta/recipes-core/gettext/gettext-minimal-0.18.3.2/iconv-m4-remove-the-test-to-convert-euc-jp.patch')
-rw-r--r-- | meta/recipes-core/gettext/gettext-minimal-0.18.3.2/iconv-m4-remove-the-test-to-convert-euc-jp.patch | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/meta/recipes-core/gettext/gettext-minimal-0.18.3.2/iconv-m4-remove-the-test-to-convert-euc-jp.patch b/meta/recipes-core/gettext/gettext-minimal-0.18.3.2/iconv-m4-remove-the-test-to-convert-euc-jp.patch new file mode 100644 index 0000000000..d453a74b51 --- /dev/null +++ b/meta/recipes-core/gettext/gettext-minimal-0.18.3.2/iconv-m4-remove-the-test-to-convert-euc-jp.patch | |||
@@ -0,0 +1,43 @@ | |||
1 | From 0bfade685783ccd193b2e1b94d0e4ef5ce449432 Mon Sep 17 00:00:00 2001 | ||
2 | From: Jackie Huang <jackie.huang@windriver.com> | ||
3 | Date: Wed, 20 Nov 2013 17:52:50 +0800 | ||
4 | Subject: [PATCH] remove 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 it causes | ||
9 | guile-native compile failure if the euc-jp is not | ||
10 | installed on the host | ||
11 | |||
12 | Upstream-Status: Inappropriate [OE specific] | ||
13 | |||
14 | Signed-off-by: Jackie Huang <jackie.huang@windriver.com> | ||
15 | --- | ||
16 | iconv.m4 | 11 ----------- | ||
17 | 1 file changed, 11 deletions(-) | ||
18 | |||
19 | diff --git a/iconv.m4 b/iconv.m4 | ||
20 | index a503646..dbe7ca1 100644 | ||
21 | --- a/iconv.m4 | ||
22 | +++ b/iconv.m4 | ||
23 | @@ -159,17 +159,6 @@ int main () | ||
24 | } | ||
25 | } | ||
26 | #endif | ||
27 | - /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is | ||
28 | - provided. */ | ||
29 | - if (/* Try standardized names. */ | ||
30 | - iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1) | ||
31 | - /* Try IRIX, OSF/1 names. */ | ||
32 | - && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1) | ||
33 | - /* Try AIX names. */ | ||
34 | - && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1) | ||
35 | - /* Try HP-UX names. */ | ||
36 | - && iconv_open ("utf8", "eucJP") == (iconv_t)(-1)) | ||
37 | - result |= 16; | ||
38 | return result; | ||
39 | }]])], | ||
40 | [am_cv_func_iconv_works=yes], | ||
41 | -- | ||
42 | 1.8.3 | ||
43 | |||