summaryrefslogtreecommitdiffstats
path: root/package/ntp/0002-ntp-syscalls-fallback.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/ntp/0002-ntp-syscalls-fallback.patch')
-rw-r--r--package/ntp/0002-ntp-syscalls-fallback.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/package/ntp/0002-ntp-syscalls-fallback.patch b/package/ntp/0002-ntp-syscalls-fallback.patch
new file mode 100644
index 0000000000..535fc93dfd
--- /dev/null
+++ b/package/ntp/0002-ntp-syscalls-fallback.patch
@@ -0,0 +1,27 @@
+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(-)
+
+diff --git a/configure.ac b/configure.ac
+--- a/configure.ac
++++ b/configure.ac
+@@ -1523,11 +1523,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
+ ;;
+ *)
OpenPOWER on IntegriCloud