summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjoern Brauel <bjb@gentoo.org>2003-01-06 18:12:33 +0000
committerBjoern Brauel <bjb@gentoo.org>2003-01-06 18:12:33 +0000
commit758ca71418aa8090db6717d4479d7838325baa8e (patch)
treed31128d34e7136ed85849cc354a5871b805da46b /net-misc/ntp/files
parentremoved x86 mask (diff)
downloadgentoo-2-758ca71418aa8090db6717d4479d7838325baa8e.tar.gz
gentoo-2-758ca71418aa8090db6717d4479d7838325baa8e.tar.bz2
gentoo-2-758ca71418aa8090db6717d4479d7838325baa8e.zip
Add a hack to workaround broken _adjtime guess on alpha
Diffstat (limited to 'net-misc/ntp/files')
-rw-r--r--net-misc/ntp/files/ntp-4.1.1b-syscall-libc.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/net-misc/ntp/files/ntp-4.1.1b-syscall-libc.patch b/net-misc/ntp/files/ntp-4.1.1b-syscall-libc.patch
new file mode 100644
index 000000000000..48815334315b
--- /dev/null
+++ b/net-misc/ntp/files/ntp-4.1.1b-syscall-libc.patch
@@ -0,0 +1,17 @@
+--- ntp-4.1.1b/include/ntp_syscall.h 2003-01-06 18:51:39.000000000 +0100
++++ ntp-4.1.1b-alpha/include/ntp_syscall.h 2003-01-06 18:54:57.000000000 +0100
+@@ -14,7 +14,6 @@
+ # include <sys/timex.h>
+ #endif
+
+-#ifndef NTP_SYSCALLS_LIBC
+ #ifdef NTP_SYSCALLS_STD
+ # define ntp_adjtime(t) syscall(SYS_ntp_adjtime, (t))
+ # define ntp_gettime(t) syscall(SYS_ntp_gettime, (t))
+@@ -50,6 +49,5 @@
+ # endif
+ # endif /* !HAVE_ADJTIMEX */
+ #endif /* !NTP_SYSCALLS_STD */
+-#endif /* !NTP_SYSCALLS_LIBC */
+
+ #endif /* NTP_SYSCALL_H */