Files
buildroot/package/ntp/0001-ntp-syscalls-fallback.patch
T
Yegor Yefremov eee73d0cc0 package/ntp: remove the obsolete patch
0001-nano.patch: both MOD_NANO and MOD_TAI were added to glibc 2.12
on 2011-03-30 in commit 83fe108b0a9bc4f2deb14695bb0c8b2011e79f28.
They were added to musl 0.7.5 in commit f5ba2bc9c on 2011-03-18. And
they were added to uClibc 1.0.23 in commit 2d8ea0524b on 2017-03-17. We
consider all of these old enough to assume they always exist.

Renumber the remaining patches.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
2024-06-19 22:31:22 +02:00

29 lines
827 B
Diff

inline ntp syscalls fallback
Reference:
https://bugs.ntp.org/show_bug.cgi?id=769
Signed-off-by: James Knight <james.knight@rockwellcollins.com>
---
configure.ac | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Index: ntp-4.2.8p17/configure.ac
===================================================================
--- ntp-4.2.8p17.orig/configure.ac
+++ ntp-4.2.8p17/configure.ac
@@ -1472,11 +1472,11 @@ AC_CACHE_CHECK(
[ntp_cv_var_ntp_syscalls],
[
ntp_cv_var_ntp_syscalls=no
- case "$ac_cv_func_ntp_adjtime$ac_cv_func_ntp_gettime$ac_cv_func___adjtimex" in
+ case "$ac_cv_func_ntp_adjtime$ac_cv_func_ntp_gettime$ac_cv_func___adjtimex$ac_cv_func_adjtimex" in
yesyes*)
ntp_cv_var_ntp_syscalls=libc
;;
- *yes)
+ *yesyes | *yesno | *noyes)
ntp_cv_var_ntp_syscalls=inline
;;
*)