diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-support/libunistring/libunistring/iconv-m4-remove-the-test-to-convert-euc-jp.patch | 42 | ||||
-rw-r--r-- | meta/recipes-support/libunistring/libunistring_0.9.3.bb | 4 |
2 files changed, 45 insertions, 1 deletions
diff --git a/meta/recipes-support/libunistring/libunistring/iconv-m4-remove-the-test-to-convert-euc-jp.patch b/meta/recipes-support/libunistring/libunistring/iconv-m4-remove-the-test-to-convert-euc-jp.patch new file mode 100644 index 0000000000..a330c73412 --- /dev/null +++ b/meta/recipes-support/libunistring/libunistring/iconv-m4-remove-the-test-to-convert-euc-jp.patch | |||
@@ -0,0 +1,42 @@ | |||
1 | From 8d99a368615656a835f5502326afd31cec2cebfe Mon Sep 17 00:00:00 2001 | ||
2 | From: Jackie Huang <jackie.huang@windriver.com> | ||
3 | Date: Mon, 16 Sep 2013 18:16:12 +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 if the euc-jp is not | ||
9 | installed on the host, libunistring will be built without | ||
10 | iconv support and will cause guild-native configure fail. | ||
11 | |||
12 | Upstream-Status: Inappropriate [OE specific] | ||
13 | |||
14 | Signed-off-by: Jackie Huang <jackie.huang@windriver.com> | ||
15 | --- | ||
16 | gnulib-m4/iconv.m4 | 11 ----------- | ||
17 | 1 files changed, 0 insertions(+), 11 deletions(-) | ||
18 | |||
19 | diff --git a/gnulib-m4/iconv.m4 b/gnulib-m4/iconv.m4 | ||
20 | index f46ff14..de0a5e9 100644 | ||
21 | --- a/gnulib-m4/iconv.m4 | ||
22 | +++ b/gnulib-m4/iconv.m4 | ||
23 | @@ -126,17 +126,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 | - return 1; | ||
38 | return 0; | ||
39 | }], [am_cv_func_iconv_works=yes], [am_cv_func_iconv_works=no], | ||
40 | [case "$host_os" in | ||
41 | -- | ||
42 | 1.7.4 | ||
diff --git a/meta/recipes-support/libunistring/libunistring_0.9.3.bb b/meta/recipes-support/libunistring/libunistring_0.9.3.bb index 454a0e6c35..6cffef458a 100644 --- a/meta/recipes-support/libunistring/libunistring_0.9.3.bb +++ b/meta/recipes-support/libunistring/libunistring_0.9.3.bb | |||
@@ -19,7 +19,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \ | |||
19 | 19 | ||
20 | SRC_URI = "${GNU_MIRROR}/libunistring/libunistring-${PV}.tar.gz \ | 20 | SRC_URI = "${GNU_MIRROR}/libunistring/libunistring-${PV}.tar.gz \ |
21 | file://parallelmake.patch \ | 21 | file://parallelmake.patch \ |
22 | file://libunistring_fix_for_automake_1.12.patch" | 22 | file://libunistring_fix_for_automake_1.12.patch \ |
23 | file://iconv-m4-remove-the-test-to-convert-euc-jp.patch \ | ||
24 | " | ||
23 | 25 | ||
24 | SRC_URI[md5sum] = "db8eca3b64163abadf8c40e5cecc261f" | 26 | SRC_URI[md5sum] = "db8eca3b64163abadf8c40e5cecc261f" |
25 | SRC_URI[sha256sum] = "610d3ec724fbdaa654afe3cff20b9f4d504be3fd296fded2e0f7f764041006a3" | 27 | SRC_URI[sha256sum] = "610d3ec724fbdaa654afe3cff20b9f4d504be3fd296fded2e0f7f764041006a3" |