From: Michael Tremer Date: Sat, 24 Jan 2026 14:38:22 +0000 (+0000) Subject: m4: Fix build with glibc >= 2.43 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=42204886e0a10528d33a04337dddee4665406349;p=ipfire-2.x.git m4: Fix build with glibc >= 2.43 Signed-off-by: Michael Tremer --- diff --git a/lfs/m4 b/lfs/m4 index a6d45cae8..74db5b64a 100644 --- a/lfs/m4 +++ b/lfs/m4 @@ -80,6 +80,9 @@ $(subst %,%_BLAKE2,$(objects)) : $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE) + cd $(DIR_APP) && sed -i 's/^\(_GL_EXTERN_C void \*\)memchr (/\1(memchr) (/' lib/string.in.h + cd $(DIR_APP) && sed -i 's/^\(_GL_EXTERN_C wchar_t \*\)wmemchr (/\1(wmemchr) (/' lib/wchar.in.h + cd $(DIR_APP) && sed -i 's/^\(_GL_EXTERN_C void \*\)bsearch (/\1(bsearch) (/' lib/stdlib.in.h cd $(DIR_APP) && ./configure --prefix=$(PREFIX) cd $(DIR_APP) && make $(MAKETUNING) cd $(DIR_APP) && make install