From: Michael Tremer Date: Sat, 24 Jan 2026 15:03:40 +0000 (+0000) Subject: gettext: Fix build against glibc >= 2.43 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d2f78674585653a4171cdac20d34cd1a64e08f8;p=ipfire-2.x.git gettext: Fix build against glibc >= 2.43 Signed-off-by: Michael Tremer --- diff --git a/lfs/gettext b/lfs/gettext index 7260af9a0..71c1183f0 100644 --- a/lfs/gettext +++ b/lfs/gettext @@ -88,6 +88,10 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE) $(UPDATE_AUTOMAKE) + cd $(DIR_APP) && find . -name string.in.h | xargs sed -i 's/^\(_GL_EXTERN_C void \*\)memchr (/\1(memchr) (/' + cd $(DIR_APP) && find . -name wchar.in.h | xargs sed -i 's/^\(_GL_EXTERN_C wchar_t \*\)wmemchr (/\1(wmemchr) (/' + cd $(DIR_APP) && find . -name stdlib.in.h | xargs sed -i 's/^\(_GL_EXTERN_C void \*\)bsearch (/\1(bsearch) (/' + cd $(DIR_APP) && ./configure $(EXTRA_CONFIG) cd $(DIR_APP) && make $(MAKETUNING)