From 219a6dab8995aad9ac4860cc1a84d6f3509a03a4 Mon Sep 17 00:00:00 2001 From: wbx Date: Sun, 17 May 2009 14:41:34 +0200 Subject: Initial import --- package/ntpclient/patches/patch-ntpclient_c | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 package/ntpclient/patches/patch-ntpclient_c (limited to 'package/ntpclient/patches/patch-ntpclient_c') diff --git a/package/ntpclient/patches/patch-ntpclient_c b/package/ntpclient/patches/patch-ntpclient_c new file mode 100644 index 000000000..3c5251b4b --- /dev/null +++ b/package/ntpclient/patches/patch-ntpclient_c @@ -0,0 +1,21 @@ +$Id: update-patches 24 2008-08-31 14:56:13Z wbx $ +--- ntpclient-2007.orig/ntpclient.c 2008-01-01 03:16:10.000000000 +0100 ++++ ntpclient-2007/ntpclient.c 2008-10-10 15:59:26.000000000 +0200 +@@ -146,7 +146,7 @@ static int get_current_freq(void) + #ifdef __linux__ + struct timex txc; + txc.modes=0; +- if (__adjtimex(&txc) < 0) { ++ if (adjtimex(&txc) < 0) { + perror("adjtimex"); exit(1); + } + return txc.freq; +@@ -163,7 +163,7 @@ static int set_freq(int new_freq) + struct timex txc; + txc.modes = ADJ_FREQUENCY; + txc.freq = new_freq; +- if (__adjtimex(&txc) < 0) { ++ if (adjtimex(&txc) < 0) { + perror("adjtimex"); exit(1); + } + return txc.freq; -- cgit v1.2.3