]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
libiconv-full: update to 1.18 18698/head
authorRobert Marko <robimarko@gmail.com>
Sat, 3 May 2025 22:06:28 +0000 (00:06 +0200)
committerRobert Marko <robimarko@gmail.com>
Sun, 4 May 2025 18:50:33 +0000 (20:50 +0200)
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@gmail.com>
package/libs/libiconv-full/Makefile

index edb90b31f6c63ac72def29fb0b1e61848b943d1e..5ebd9eea57bd36ae73f6a5a3a5f6488a0d2b81a3 100644 (file)
@@ -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)