summaryrefslogtreecommitdiff
path: root/package/ntp/ntp-4.2.4_p5-adjtimex.patch
diff options
context:
space:
mode:
authorMartin Banky <martin.banky@gmail.com>2010-09-20 14:54:23 -0700
committerPeter Korsgaard <jacmet@sunsite.dk>2010-09-21 21:25:54 +0200
commita05bb5815d3e311219560685ee0e165a824292ab (patch)
treefa6c97d96308f5c6acc2ba03390eb07d8b9aa94f /package/ntp/ntp-4.2.4_p5-adjtimex.patch
parent6b899a43bae232b80eb57dfb6e373dc3971f8fed (diff)
ntp: convert to autotargets and bump to 4.2.6p2
Also added additional options for ntp and fixed a build issue when IPv6 support is not available. [Peter: small tweaks] Signed-off-by: Martin Banky <Martin.Banky@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/ntp/ntp-4.2.4_p5-adjtimex.patch')
-rw-r--r--package/ntp/ntp-4.2.4_p5-adjtimex.patch33
1 files changed, 0 insertions, 33 deletions
diff --git a/package/ntp/ntp-4.2.4_p5-adjtimex.patch b/package/ntp/ntp-4.2.4_p5-adjtimex.patch
deleted file mode 100644
index 40625fa18..000000000
--- a/package/ntp/ntp-4.2.4_p5-adjtimex.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-https://support.ntp.org/bugs/show_bug.cgi?id=769
-http://bugs.gentoo.org/254030
-
---- ntp/util/tickadj.c
-+++ ntp/util/tickadj.c
-@@ -21,7 +21,8 @@
- # include <unistd.h>
- #endif /* HAVE_UNISTD_H */
-
--#ifdef HAVE___ADJTIMEX /* Linux */
-+/* proper handling here has been moved to upstream ntp bugzilla */
-+#ifdef linux
-
- #include <sys/timex.h>
- struct timex txc;
-@@ -91,7 +92,7 @@
- }
-
- if (!errflg) {
-- if (__adjtimex(&txc) < 0)
-+ if (adjtimex(&txc) < 0)
- perror("adjtimex");
- else if (!quiet)
- printf("tick = %ld\ntick_adj = %d\n",
-@@ -146,7 +147,7 @@
- #endif
- }
-
-- if (__adjtimex(&txc) < 0)
-+ if (adjtimex(&txc) < 0)
- {
- perror("adjtimex");
- }