[openwrt/openwrt] libiconv-full: update to 1.18

LEDE Commits lede-commits at lists.infradead.org
Sun May 4 11:50:37 PDT 2025


robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/b0aa7b3da685d0df3b7a815a70acc595d1fe429f

commit b0aa7b3da685d0df3b7a815a70acc595d1fe429f
Author: Robert Marko <robimarko at gmail.com>
AuthorDate: Sun May 4 00:06:28 2025 +0200

    libiconv-full: update to 1.18
    
    libiconv 1.17 fails to compile with GCC15 when doing the host build,
    luckily version 1.18 already contains the fixes required so update to it.
    
    New in 1.18:
    * Many more transliterations, in particular also of Emoji characters.
    * The iconv_open function is now POSIX:2024 compliant: it recognizes a
      suffix //NON_IDENTICAL_DISCARD in the 'tocode' argument, with the effect
      that characters that cannot be represented in the target character set
      will be silently discarded. Whereas the suffix //IGNORE in the 'tocode'
      argument has the effect of discarding not only characters that cannot be
      represented in the target character set, but also invalid multibyte
      sequences in the input.
      Accordingly, the iconvctl function accepts requests
        ICONV_GET_DISCARD_INVALID, ICONV_SET_DISCARD_INVALID,
        ICONV_GET_DISCARD_NON_IDENTICAL, ICONV_SET_DISCARD_NON_IDENTICAL.
    * The iconv_open function and the iconv program now support multiple suffixes,
      such as //TRANSLIT//IGNORE, not only one.
    * GB18030 is now an alias for GB18030:2005. A new converter for GB18030:2022
      is added. Since this encoding merely cleans up a few private-use-area
      mappings, you can continue to use the GB18030 converter, for backward
      compatibility. Its Unicode to GB18030 conversion direction has been
      enhanced, to help transitioning away from PUA code points.
    * When converting from/to an EBCDIC encoding, a non-standard way of
      converting newlines can be requested
        - at the C level, by calling iconvctl with argument ICONV_SET_FROM_SURFACE
          or ICONV_SET_TO_SURFACE, or
        - from the iconv program, by setting the environment variable
          ICONV_EBCDIC_ZOS_UNIX to a non-empty value.
    * Special support for z/OS: The iconv program adds a charset metadata tag to
      its output file. (Contributed by Mike Fulton.)
    * For conversions from UCS-2, UCS-4, UTF-16, UTF-32, invoking
      iconv(cd,NULL,NULL,...) now preserves the byte order state.
    
    Link: https://github.com/openwrt/openwrt/pull/18698
    Signed-off-by: Robert Marko <robimarko at gmail.com>
---
 package/libs/libiconv-full/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/libs/libiconv-full/Makefile b/package/libs/libiconv-full/Makefile
index edb90b31f6..5ebd9eea57 100644
--- a/package/libs/libiconv-full/Makefile
+++ b/package/libs/libiconv-full/Makefile
@@ -8,12 +8,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=libiconv-full
-PKG_VERSION:=1.17
+PKG_VERSION:=1.18
 PKG_RELEASE:=1
 
 PKG_SOURCE:=libiconv-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=@GNU/libiconv
-PKG_HASH:=8f74213b56238c85a50a5329f77e06198771e70dd9a739779f4c02f65d971313
+PKG_HASH:=3b08f5f4f9b4eb82f151a7040bfd6fe6c6fb922efe4b1659c66ea933276965e8
 PKG_BUILD_DIR:=$(BUILD_DIR)/libiconv-$(PKG_VERSION)
 HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/libiconv-$(PKG_VERSION)
 




More information about the lede-commits mailing list