From: kloczek Date: Tue, 23 Oct 2001 12:23:27 +0000 (+0000) Subject: patches from rawhide (ia64 fix, small fix in man page and pass correct optstring X-Git-Tag: adjtimex-1_12-2~1 X-Git-Url: http://git.pld-linux.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;ds=sidebyside;h=9874aa7d1ce43cfd78968690a43e8d2df4138938;p=packages%2Fadjtimex.git patches from rawhide (ia64 fix, small fix in man page and pass correct optstring to getopt_long_only()). Changed files: adjtimex-fixman.patch -> 1.1 adjtimex-getopt.patch -> 1.1 adjtimex-ia64.patch -> 1.1 --- diff --git a/adjtimex-fixman.patch b/adjtimex-fixman.patch new file mode 100644 index 0000000..2739f43 --- /dev/null +++ b/adjtimex-fixman.patch @@ -0,0 +1,12 @@ +--- adjtimex-1.11/adjtimex.8.fixman Mon Jan 29 15:42:10 2001 ++++ adjtimex-1.11/adjtimex.8 Mon Jan 29 15:42:58 2001 +@@ -121,7 +121,8 @@ + for each kernel tick interrupt. There are supposed to be 100 ticks + per second, so \fIval\fP should be close to 10000. Increasing + \fIval\fP by 1 speeds up the system clock by about 100 ppm, or 8.64 +-sec/day. \fItick\fP must be in the range 9000...11000. ++sec/day. \fItick\fP must be in the range 9000...11000 on Intel systems, ++or 900...1100 on Alpha systems. + .IP "\fB\-f\fP \fInewfreq\fP, \fB\--frequency\fP \fInewfreq\fP" + Set the system clock frequency offset to \fInewfreq\fP. \fInewfreq\fP + can be negative or positive, and gives a much finer adjustment than diff --git a/adjtimex-getopt.patch b/adjtimex-getopt.patch new file mode 100644 index 0000000..3185d73 --- /dev/null +++ b/adjtimex-getopt.patch @@ -0,0 +1,11 @@ +--- adjtimex-1.9/adjtimex.c.gafton Fri Mar 3 12:18:37 2000 ++++ adjtimex-1.9/adjtimex.c Fri Mar 3 12:20:46 2000 +@@ -205,7 +205,7 @@ + + txc.modes = 0; + +- while((c = getopt_long_only(argc, argv, "", ++ while((c = getopt_long_only(argc, argv, "pt:f:s:o:m:e:T:cai:wruv", + longopt, NULL)) != -1) + { + switch(c) diff --git a/adjtimex-ia64.patch b/adjtimex-ia64.patch new file mode 100644 index 0000000..d3f78f4 --- /dev/null +++ b/adjtimex-ia64.patch @@ -0,0 +1,11 @@ +--- adjtimex-1.11/adjtimex.c.foo Mon Nov 20 12:56:18 2000 ++++ adjtimex-1.11/adjtimex.c Mon Nov 20 12:56:39 2000 +@@ -34,7 +34,7 @@ + #include + #include + +-#ifdef __alpha__ ++#if defined(__alpha__) || defined(__ia64__) + extern int adjtimex(struct timex *); + #else + _syscall1(int, adjtimex, struct timex *, txcp)