From efeff9708d4a7399762fbf08ff5cabdf794e7fb3 Mon Sep 17 00:00:00 2001 From: fuzzard Date: Wed, 27 Sep 2023 14:17:18 +1000 Subject: [tools/depends][native] gettext force am_cv_func_iconv_works for apple host MacOS Sonoma (14.0) has a change in iconv that the gettext configure script fails when testing if iconv works. We just force it on --- tools/depends/native/gettext/Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'tools') diff --git a/tools/depends/native/gettext/Makefile b/tools/depends/native/gettext/Makefile index 5a8fee1220..f78aceab1f 100644 --- a/tools/depends/native/gettext/Makefile +++ b/tools/depends/native/gettext/Makefile @@ -22,6 +22,14 @@ CONFIGURE=./configure --prefix=$(PREFIX) \ --without-git --without-cvs \ --disable-shared --disable-curses --disable-acl --disable-c++ --disable-nls +ifeq ($(NATIVE_OS), osx) + # As per homebrew - https://github.com/Homebrew/homebrew-core/blob/f6df737d9479dd215185000a3dbd641185eafec2/Formula/g/gettext.rb#L52C1-L55 + # Sonoma iconv() has a regression w.r.t. transliteration, which happens to + # break gettext's configure check. Force it. + # Reported to Apple as FB13163914 + CONFIGURE+= am_cv_func_iconv_works=y +endif + LIBDYLIB=$(PLATFORM)/gettext-tools/src/.libs/libgettextsrc.a all: .installed-$(PLATFORM) -- cgit v1.2.3