From 4a0c9bb514ff3d6966f1da480cd48c076403f58d Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Wed, 15 Nov 2017 16:45:42 +0000 Subject: sysstat: refresh patches The patch tool will apply patches by default with "fuzz", which is where if the hunk context isn't present but what is there is close enough, it will force the patch in. Whilst this is useful when there's just whitespace changes, when applied to source it is possible for a patch applied with fuzz to produce broken code which still compiles (see #10450). This is obviously bad. We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For that to be realistic the existing patches with fuzz need to be rebased and reviewed. Signed-off-by: Ross Burton --- .../0001-Include-needed-headers-explicitly.patch | 29 ++++++++++------------ 1 file changed, 13 insertions(+), 16 deletions(-) (limited to 'meta/recipes-extended/sysstat/sysstat/0001-Include-needed-headers-explicitly.patch') diff --git a/meta/recipes-extended/sysstat/sysstat/0001-Include-needed-headers-explicitly.patch b/meta/recipes-extended/sysstat/sysstat/0001-Include-needed-headers-explicitly.patch index c12652307c..5fc26fbc27 100644 --- a/meta/recipes-extended/sysstat/sysstat/0001-Include-needed-headers-explicitly.patch +++ b/meta/recipes-extended/sysstat/sysstat/0001-Include-needed-headers-explicitly.patch @@ -21,10 +21,10 @@ Upstream-Status: Pending sa_common.c | 1 + 3 files changed, 3 insertions(+) -diff --git a/common.c b/common.c -index a23155b..ad86446 100644 ---- a/common.c -+++ b/common.c +Index: sysstat-11.5.7/common.c +=================================================================== +--- sysstat-11.5.7.orig/common.c ++++ sysstat-11.5.7/common.c @@ -20,6 +20,7 @@ */ @@ -32,11 +32,11 @@ index a23155b..ad86446 100644 +#include #include #include - #include -diff --git a/ioconf.c b/ioconf.c -index 7d88c5d..6d67691 100644 ---- a/ioconf.c -+++ b/ioconf.c + #include +Index: sysstat-11.5.7/ioconf.c +=================================================================== +--- sysstat-11.5.7.orig/ioconf.c ++++ sysstat-11.5.7/ioconf.c @@ -27,6 +27,7 @@ #include #include @@ -45,10 +45,10 @@ index 7d88c5d..6d67691 100644 #include "ioconf.h" #include "common.h" -diff --git a/sa_common.c b/sa_common.c -index b7351d9..c9e3299 100644 ---- a/sa_common.c -+++ b/sa_common.c +Index: sysstat-11.5.7/sa_common.c +=================================================================== +--- sysstat-11.5.7.orig/sa_common.c ++++ sysstat-11.5.7/sa_common.c @@ -20,6 +20,7 @@ */ @@ -57,6 +57,3 @@ index b7351d9..c9e3299 100644 #include #include #include --- -2.5.2 - -- cgit 1.2.3-korg