The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / ntp / 0001-nano.patch
1 Fixes issues with glibc header files, see
2 http://bugs.gentoo.org/show_bug.cgi?id=270483
3
4 Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
5
6 Rebase to apply cleanly.
7
8 Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
9
10
11 diff -purN a/include/ntp_syscall.h b/include/ntp_syscall.h
12 --- a/include/ntp_syscall.h     2015-02-11 08:42:37.794576469 -0500
13 +++ b/include/ntp_syscall.h     2015-02-11 08:43:03.216957279 -0500
14 @@ -10,6 +10,14 @@
15  # include <sys/timex.h>
16  #endif
17  
18 +#if defined(ADJ_NANO) && !defined(MOD_NANO)
19 +#define MOD_NANO ADJ_NANO
20 +#endif
21 +
22 +#if defined(ADJ_TAI) && !defined(MOD_TAI)
23 +#define MOD_TAI ADJ_TAI
24 +#endif
25 +
26  #ifndef NTP_SYSCALLS_LIBC
27  # ifdef NTP_SYSCALLS_STD
28  #  define ntp_adjtime(t)       syscall(SYS_ntp_adjtime, (t))