From: Michael Tremer Date: Mon, 26 Jan 2026 15:55:27 +0000 (+0000) Subject: ntp: Fix build against glibc >= 2.43 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a7454ce9383b139282326fd3e28e2d89c895281f;p=ipfire-2.x.git ntp: Fix build against glibc >= 2.43 Signed-off-by: Michael Tremer --- diff --git a/lfs/ntp b/lfs/ntp index 9f45d5564..9d12a7680 100644 --- a/lfs/ntp +++ b/lfs/ntp @@ -72,6 +72,8 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE) $(UPDATE_AUTOMAKE) cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/ntp-4.2.8_p15-configure-clang16.patch + cd $(DIR_APP) && sed -i 's/^extern void \*memchr(/extern void *(memchr)(/' include/l_stdlib.h + cd $(DIR_APP) && sed -i 's/^extern char \*strchr(/extern char *(strchr)(/' include/l_stdlib.h cd $(DIR_APP) && autoreconf -vfi cd $(DIR_APP) && \ ./configure \