summaryrefslogtreecommitdiffstats
path: root/extra/ntp/ntp-4.2.4_p7-nano.patch
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-09-15 10:57:47 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-09-15 10:57:47 +0200
commit73dfba7f231c37f8826e9a87572c9c637b01fda3 (patch)
treecd9b9e160afc3840fda325c67582e1de86681eea /extra/ntp/ntp-4.2.4_p7-nano.patch
parentbe2d160ee584cc23fc7350d8443a509cee82f83d (diff)
downloadnutyx-extra-73dfba7f231c37f8826e9a87572c9c637b01fda3.tar.gz
nutyx-extra-73dfba7f231c37f8826e9a87572c9c637b01fda3.tar.bz2
nutyx-extra-73dfba7f231c37f8826e9a87572c9c637b01fda3.tar.xz
nutyx-extra-73dfba7f231c37f8826e9a87572c9c637b01fda3.zip
Ajout de ntp#4.2.4p7-1
Diffstat (limited to 'extra/ntp/ntp-4.2.4_p7-nano.patch')
-rw-r--r--extra/ntp/ntp-4.2.4_p7-nano.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/extra/ntp/ntp-4.2.4_p7-nano.patch b/extra/ntp/ntp-4.2.4_p7-nano.patch
new file mode 100644
index 000000000..b31ea0adc
--- /dev/null
+++ b/extra/ntp/ntp-4.2.4_p7-nano.patch
@@ -0,0 +1,20 @@
+http://bugs.gentoo.org/270483
+
+ripped from fedora
+
+--- 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