summaryrefslogtreecommitdiffstats
path: root/patches
diff options
context:
space:
mode:
authorRobert Schwebel <r.schwebel@pengutronix.de>2007-09-26 06:23:55 +0000
committerRobert Schwebel <r.schwebel@pengutronix.de>2007-09-26 06:23:55 +0000
commitdee89e1fb94f9901f30b31cecdc7ba8e5f913e58 (patch)
tree4c6dc9bb4ae31817a2a2fd04c00ce582242cbbd1 /patches
parent5c45375e5abeb1b3ca026a1c014a3532c80fdcc2 (diff)
downloadptxdist-dee89e1fb94f9901f30b31cecdc7ba8e5f913e58.tar.gz
ptxdist-dee89e1fb94f9901f30b31cecdc7ba8e5f913e58.tar.xz
* ntp: update NTP package to version 4.2.4p3. Adds options for
rc.d links for the server and ntpdc plus configurations. Some missing /var directories for statistics files have also been added. Patch by Carsten Schlote. git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@7291 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'patches')
-rw-r--r--patches/ntp-4.2.4p3/generic/bancomm_fix.diff36
1 files changed, 36 insertions, 0 deletions
diff --git a/patches/ntp-4.2.4p3/generic/bancomm_fix.diff b/patches/ntp-4.2.4p3/generic/bancomm_fix.diff
new file mode 100644
index 000000000..0cbb0d9df
--- /dev/null
+++ b/patches/ntp-4.2.4p3/generic/bancomm_fix.diff
@@ -0,0 +1,36 @@
+#
+# Submitted-By: Luotao Fu, 2006-10-11
+# Committed-By: Luotao Fu
+#
+# Error:
+#
+# Compilation fails if the bancomm interface is enabled in the configuration
+#
+# Description:
+#
+# wrong variable type of debug, the struct refclockproc contanins only nsec,
+# instead of usec as used in the bancomm interface code.
+#
+# State:
+#
+# fixed, will be commited to the developer soon
+#
+# Reapplied for 4.2.4p3 - only some include line left, bug above fixed.
+#
+
+---
+ ntpd/refclock_bancomm.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+Index: ntp-4.2.4p3/ntpd/refclock_bancomm.c
+===================================================================
+--- ntp-4.2.4p3.orig/ntpd/refclock_bancomm.c 2006-12-28 13:03:42.000000000 +0100
++++ ntp-4.2.4p3/ntpd/refclock_bancomm.c 2007-09-21 16:41:28.000000000 +0200
+@@ -57,6 +57,7 @@
+ #include <stdio.h>
+ #include <syslog.h>
+ #include <ctype.h>
++#include <sys/ioctl.h>
+
+ /* STUFF BY RES */
+ struct btfp_time /* Structure for reading 5 time words */