contrib: update libiconv to 1.18.0 (#6752)

* Update libiconv to 1.18.0

-std=gnu89 in MinGW no longer needed. 
Since version 1.15, it compiles normally with -std=gnu99.

Thanks to marcosfrm
#6750

* Correct sha256sum
This commit is contained in:
hnsteyding 2025-04-06 09:11:02 +02:00 committed by GitHub
parent a53d20a48b
commit 5523ab794d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,18 +1,13 @@
$(eval $(call import.MODULE.defs,LIBICONV,libiconv))
$(eval $(call import.CONTRIB.defs,LIBICONV))
LIBICONV.FETCH.url = https://github.com/HandBrake/HandBrake-contribs/releases/download/contribs/libiconv-1.17.tar.gz
LIBICONV.FETCH.url += https://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.17.tar.gz
LIBICONV.FETCH.sha256 = 8f74213b56238c85a50a5329f77e06198771e70dd9a739779f4c02f65d971313
LIBICONV.FETCH.url = https://github.com/HandBrake/HandBrake-contribs/releases/download/contribs2/libiconv-1.18.tar.gz
LIBICONV.FETCH.url += https://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.18.tar.gz
LIBICONV.FETCH.sha256 = 3b08f5f4f9b4eb82f151a7040bfd6fe6c6fb922efe4b1659c66ea933276965e8
LIBICONV.GCC.args.extra += $(LIBICONV.GCC.args.O.$(LIBICONV.GCC.O))
ifeq (1,$(HOST.cross))
# this contrib will not build under MinGW with -std=gnu99
ifeq (mingw,$(HOST.system))
LIBICONV.GCC.args.c_std = -std=gnu89
endif
ifeq (msys,$(BUILD.system))
LIBICONV.CONFIGURE.args.build = --build=$(BUILD.machine)-unknown-linux-gnu
endif