0001-ntp-syscalls-fallback.patch 827 B

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