ntp: refresh patch

WARNING: ntp-4.2.8p10-r0 do_patch:
Some of the context lines in patches were ignored. This can lead to incorrectly applied patches.
The context lines in the patches can be updated with devtool:

    devtool modify <recipe>
    devtool finish --force-patch-refresh <recipe> <layer_path>

Then the updated patches and the source tree (in devtool's workspace)
should be reviewed to make sure the patches apply in the correct place
and don't introduce duplicate lines (which can, and does happen
when some of the context is ignored). Further information:
http://lists.openembedded.org/pipermail/openembedded-core/2018-March/148675.html
https://bugzilla.yoctoproject.org/show_bug.cgi?id=10450
Details:
Applying patch ntp-4.2.4_p6-nano.patch
patching file include/ntp_syscall.h
Hunk #1 succeeded at 10 with fuzz 2 (offset -4 lines).

Now at patch ntp-4.2.4_p6-nano.patch

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
This commit is contained in:
Martin Jansa
2018-03-17 10:05:32 +00:00
committed by Joe MacDonald
parent c75d215d9c
commit 5d37441579
@@ -1,6 +1,16 @@
--- a/include/ntp_syscall.h.orig 2009-05-19 16:44:55.048156467 -0400
+++ b/include/ntp_syscall.h 2009-05-19 16:46:19.293323686 -0400
@@ -14,6 +14,14 @@
From 2310898533f059d875dcffd26ab6cf1b280292fd Mon Sep 17 00:00:00 2001
From: Koen Kooi <koen@dominion.thruhere.net>
Date: Wed, 12 Jan 2011 21:38:46 +0100
---
include/ntp_syscall.h | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/include/ntp_syscall.h b/include/ntp_syscall.h
index d1ce03e..9e18432 100644
--- a/include/ntp_syscall.h
+++ b/include/ntp_syscall.h
@@ -10,6 +10,14 @@
# include <sys/timex.h>
#endif
@@ -13,5 +23,5 @@
+#endif
+
#ifndef NTP_SYSCALLS_LIBC
#ifdef NTP_SYSCALLS_STD
# define ntp_adjtime(t) syscall(SYS_ntp_adjtime, (t))
# ifdef NTP_SYSCALLS_STD
# define ntp_adjtime(t) syscall(SYS_ntp_adjtime, (t))