0004-Disable-the-test-to-convert-euc-jp.patch 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. From e4ede22e28eaa38d81667ddcb19541ece1a83cf8 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] Disable the test to convert euc-jp
  5. Remove the test "Test against HP-UX 11.11 bug:
  6. No converter from EUC-JP to UTF-8 is provided"
  7. since we don't support HP-UX and if the euc-jp is not
  8. installed on the host, the dependence will be built without
  9. iconv support and will cause guild-native building fail.
  10. Upstream-Status: Inappropriate [OE specific]
  11. Signed-off-by: Roy Li <rongqing.li@windriver.com>
  12. Rebase to 0.170
  13. Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
  14. ---
  15. m4/iconv.m4 | 2 ++
  16. 1 file changed, 2 insertions(+)
  17. diff --git a/m4/iconv.m4 b/m4/iconv.m4
  18. index a503646..299f1eb 100644
  19. --- a/m4/iconv.m4
  20. +++ b/m4/iconv.m4
  21. @@ -159,6 +159,7 @@ int main ()
  22. }
  23. }
  24. #endif
  25. +#if 0
  26. /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
  27. provided. */
  28. if (/* Try standardized names. */
  29. @@ -170,6 +171,7 @@ int main ()
  30. /* Try HP-UX names. */
  31. && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
  32. result |= 16;
  33. +#endif
  34. return result;
  35. }]])],
  36. [am_cv_func_iconv_works=yes],