From: Michael Tremer Date: Mon, 26 Jan 2026 11:44:41 +0000 (+0000) Subject: nano: Fix build against glibc >= 2.43 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ebbf705e257cd51e8d45075f483bab3cfc2eddf0;p=ipfire-2.x.git nano: Fix build against glibc >= 2.43 Signed-off-by: Michael Tremer --- diff --git a/lfs/nano b/lfs/nano index 9d670e589..d6556f4b8 100644 --- a/lfs/nano +++ b/lfs/nano @@ -73,6 +73,8 @@ $(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 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=/usr \ --sysconfdir=/etc/nano \