0001-ntp-syscalls-fallback.patch 825 B

123456789101112131415161718192021222324252627
  1. inline ntp syscalls fallback
  2. Upstream: https://bugs.ntp.org/show_bug.cgi?id=769
  3. Signed-off-by: James Knight <james.knight@rockwellcollins.com>
  4. ---
  5. configure.ac | 4 ++--
  6. 1 file changed, 2 insertions(+), 2 deletions(-)
  7. Index: ntp-4.2.8p17/configure.ac
  8. ===================================================================
  9. --- ntp-4.2.8p17.orig/configure.ac
  10. +++ ntp-4.2.8p17/configure.ac
  11. @@ -1472,11 +1472,11 @@ AC_CACHE_CHECK(
  12. [ntp_cv_var_ntp_syscalls],
  13. [
  14. ntp_cv_var_ntp_syscalls=no
  15. - case "$ac_cv_func_ntp_adjtime$ac_cv_func_ntp_gettime$ac_cv_func___adjtimex" in
  16. + case "$ac_cv_func_ntp_adjtime$ac_cv_func_ntp_gettime$ac_cv_func___adjtimex$ac_cv_func_adjtimex" in
  17. yesyes*)
  18. ntp_cv_var_ntp_syscalls=libc
  19. ;;
  20. - *yes)
  21. + *yesyes | *yesno | *noyes)
  22. ntp_cv_var_ntp_syscalls=inline
  23. ;;
  24. *)