diff options
author | tnn <tnn@pkgsrc.org> | 2009-12-21 14:19:58 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2009-12-21 14:19:58 +0000 |
commit | ed85ebe2cd7b5cd3a12c6aaf9023cadbefa153f6 (patch) | |
tree | 80ec5c5c44a1ca1a855cd954d5ead315272c1925 /net | |
parent | b02ddd4cb177b7636a291ef98ab05e2aa844777e (diff) | |
download | pkgsrc-ed85ebe2cd7b5cd3a12c6aaf9023cadbefa153f6.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)) |