summaryrefslogtreecommitdiffstats
path: root/package/ntp/ntp-4.2.4_p5-nano.patch
diff options
context:
space:
mode:
authorMartin Banky <martin.banky@gmail.com>2010-09-20 14:54:23 -0700
committerPeter Korsgaard <jacmet@sunsite.dk>2010-09-21 21:25:54 +0200
commita05bb5815d3e311219560685ee0e165a824292ab (patch)
treefa6c97d96308f5c6acc2ba03390eb07d8b9aa94f /package/ntp/ntp-4.2.4_p5-nano.patch
parent6b899a43bae232b80eb57dfb6e373dc3971f8fed (diff)
downloadbuildroot-novena-a05bb5815d3e311219560685ee0e165a824292ab.tar.gz
buildroot-novena-a05bb5815d3e311219560685ee0e165a824292ab.zip
ntp: convert to autotargets and bump to 4.2.6p2
Also added additional options for ntp and fixed a build issue when IPv6 support is not available. [Peter: small tweaks] Signed-off-by: Martin Banky <Martin.Banky@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/ntp/ntp-4.2.4_p5-nano.patch')
-rw-r--r--package/ntp/ntp-4.2.4_p5-nano.patch36
1 files changed, 0 insertions, 36 deletions
diff --git a/package/ntp/ntp-4.2.4_p5-nano.patch b/package/ntp/ntp-4.2.4_p5-nano.patch
deleted file mode 100644
index f4097ee56..000000000
--- a/package/ntp/ntp-4.2.4_p5-nano.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-Fixes the MOD_NANO build failure
-
-ntp_loopfilter.c: In function 'local_clock':
-ntp_loopfilter.c:571: error: 'MOD_NANO' undeclared (first use in this function)
-ntp_loopfilter.c:571: error: (Each undeclared identifier is reported only once
-ntp_loopfilter.c:571: error: for each function it appears in.)
-ntp_loopfilter.c: In function 'loop_config':
-ntp_loopfilter.c:896: error: 'MOD_NANO' undeclared (first use in this function)
-
-Taken from
-http://cvs.fedoraproject.org/viewvc/devel/ntp/ntp-4.2.4p7-nano.patch?revision=1.1&content-type=text/plain&view=co
-
-See the discussion at
-https://bugs.launchpad.net/ubuntu/+source/ntp/+bug/412242 for more
-details and links. The below fix is not a correct fix, but only a
-workaround. The real fix required changes to kernel/libc headers.
-
-Index: ntp-4.2.4p5/include/ntp_syscall.h
-===================================================================
---- ntp-4.2.4p5.orig/include/ntp_syscall.h 2010-05-14 17:34:48.000000000 +0200
-+++ ntp-4.2.4p5/include/ntp_syscall.h 2010-05-14 17:35:13.000000000 +0200
-@@ -14,6 +14,14 @@
- # include <sys/timex.h>
- #endif
-
-+#if defined(ADJ_NANO) && !defined(MOD_NANO)
-+#define MOD_NANO ADJ_NANO
-+#endif
-+
-+#if defined(ADJ_TAI) && !defined(MOD_TAI)
-+#define MOD_TAI ADJ_TAI
-+#endif
-+
- #ifndef NTP_SYSCALLS_LIBC
- #ifdef NTP_SYSCALLS_STD
- # define ntp_adjtime(t) syscall(SYS_ntp_adjtime, (t))