diff options
author | tnn <tnn> | 2009-12-21 14:19:58 +0000 |
---|---|---|
committer | tnn <tnn> | 2009-12-21 14:19:58 +0000 |
commit | 9aaedb1a8ea3bd9bda3b832e0a3b954bab9e9218 (patch) | |
tree | 80ec5c5c44a1ca1a855cd954d5ead315272c1925 /net | |
parent | f59d3ce8939ace5a62bd4aa1c35fa6cbd0a1325c (diff) | |
download | pkgsrc-9aaedb1a8ea3bd9bda3b832e0a3b954bab9e9218.tar.gz |
fix build with glibc-2.10.1+
patch from gentoo bug 270483
Diffstat (limited to 'net')
-rw-r--r-- | net/ntp4/distinfo | 3 | ||||
-rw-r--r-- | net/ntp4/patches/patch-aa | 19 |
2 files changed, 21 insertions, 1 deletions
diff --git a/net/ntp4/distinfo b/net/ntp4/distinfo index 0012b46b5d2..bc811bf2dd3 100644 --- a/net/ntp4/distinfo +++ b/net/ntp4/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.14 2009/12/15 10:53:20 tnn Exp $ +$NetBSD: distinfo,v 1.15 2009/12/21 14:19:58 tnn Exp $ SHA1 (ntp-4.2.4p8.tar.gz) = 0aa9bd4f451a35586843ccd5eb8391f061beb960 RMD160 (ntp-4.2.4p8.tar.gz) = 63e684b1f92b93a7d972706286c335abcceb54bd Size (ntp-4.2.4p8.tar.gz) = 3389646 bytes +SHA1 (patch-aa) = e9b592d4ab1cb939cfe89d4d62f7d00b02acd121 diff --git a/net/ntp4/patches/patch-aa b/net/ntp4/patches/patch-aa new file mode 100644 index 00000000000..974b47cac8b --- /dev/null +++ b/net/ntp4/patches/patch-aa @@ -0,0 +1,19 @@ +$NetBSD: patch-aa,v 1.9 2009/12/21 14:19:58 tnn Exp $ + +--- include/ntp_syscall.h.orig 2004-02-25 05:57:56.000000000 +0000 ++++ include/ntp_syscall.h +@@ -14,6 +14,14 @@ + # include <sys/timex.h> + #endif + ++#ifdef NTP_SYSCALLS_STDDJ_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 + # define ntp_adjtime(t) syscall(SYS_ntp_adjtime, (t)) |