]> git.pld-linux.org Git - packages/ntp.git/commitdiff
- build fix, taken from gentoo
authorhawk <hawk@pld-linux.org>
Sat, 8 Aug 2009 16:14:33 +0000 (16:14 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    ntp-nano.patch -> 1.1

ntp-nano.patch [new file with mode: 0644]

diff --git a/ntp-nano.patch b/ntp-nano.patch
new file mode 100644 (file)
index 0000000..4814bec
--- /dev/null
@@ -0,0 +1,16 @@
+--- ntp-4.2.4p7/include/ntp_syscall.h
++++ ntp-4.2.4p7/include/ntp_syscall.h
+@@ -14,5 +14,13 @@
+ # include <sys/timex.h>
+ #endif
++#if defined(ADJ_NANO) && !defined(MOD_NANO)
++#define MOD_NANO ADJ_NANO
++#endif
++
++#if defined(ADJ_TAI) && !defined(MOD_TAI)
++#define MOD_TAI ADJ_TAI
++#endif
++
+ #ifndef NTP_SYSCALLS_LIBC
+ #ifdef NTP_SYSCALLS_STD
This page took 0.048682 seconds and 4 git commands to generate.