From: Michael Tremer Date: Tue, 27 Jan 2026 17:02:51 +0000 (+0000) Subject: oath-toolkit: Fix build against glibc >= 2.43 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4242903bc61b5587dcccd10b63d3e2d7dbd92068;p=ipfire-2.x.git oath-toolkit: Fix build against glibc >= 2.43 Signed-off-by: Michael Tremer --- diff --git a/lfs/oath-toolkit b/lfs/oath-toolkit index 4465b9f66..70aa20256 100644 --- a/lfs/oath-toolkit +++ b/lfs/oath-toolkit @@ -70,6 +70,8 @@ $(subst %,%_MD5,$(objects)) : $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE) + 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 --prefix=/usr cd $(DIR_APP) && make $(MAKETUNING) $(EXTRA_MAKE) cd $(DIR_APP) && make install