From 5babb449cb2a3b10814daf240c884c36e547ed28 Mon Sep 17 00:00:00 2001 From: Dirk Opfer Date: Tue, 4 Aug 2009 11:56:03 +0200 Subject: ntp: update to 4.2.4p7 --- recipes/ntp/ntp-4.2.4p7/tickadj.c.patch | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 recipes/ntp/ntp-4.2.4p7/tickadj.c.patch (limited to 'recipes/ntp/ntp-4.2.4p7') diff --git a/recipes/ntp/ntp-4.2.4p7/tickadj.c.patch b/recipes/ntp/ntp-4.2.4p7/tickadj.c.patch new file mode 100644 index 0000000000..9ef9de9e1f --- /dev/null +++ b/recipes/ntp/ntp-4.2.4p7/tickadj.c.patch @@ -0,0 +1,32 @@ +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 + #endif /* HAVE_UNISTD_H */ + +-#ifdef HAVE___ADJTIMEX /* Linux */ ++/* proper handling here has been moved to upstream ntp bugzilla */ ++#ifdef linux + + #include + 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"); + } -- cgit v1.2.3