ntp: remove tickadj.c.patch which has been merged upstream
This commit is contained in:
parent
b386e61712
commit
f47375cb49
|
@ -1,32 +0,0 @@
|
|||
Index: ntp-4.2.2p3-r0/ntp-4.2.2p3/util/tickadj.c
|
||||
===================================================================
|
||||
--- ntp-4.2.2p3/util/tickadj.c 2004-02-25 06:58:33.000000000 +0100
|
||||
+++ ntp-4.2.2p3/util/tickadj.c 2007-07-07 01:00:54.000000000 +0200
|
||||
@@ -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");
|
||||
}
|
|
@ -3,7 +3,6 @@ require ntp.inc
|
|||
PR = "r2"
|
||||
|
||||
SRC_URI = "http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/${P}.tar.gz \
|
||||
file://tickadj.c.patch \
|
||||
file://ntp-4.2.4_p6-nano.patch \
|
||||
file://ntpd \
|
||||
file://ntp.conf \
|
||||
|
|
Loading…
Reference in New Issue