ethtool: 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.

(From OE-Core rev: 4ff1dbbd33b31212e8ba2bb9f269c80b5f08566c)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Ross Burton
2018-03-08 20:17:43 +02:00
committed by Richard Purdie
parent 3dc8a2bef3
commit 1de8b49c69

View File

@@ -5,11 +5,12 @@ Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Upstream-Status: Inappropriate
(default automake behavior incompatible with ptest)
diff -ruN a/configure.ac b/configure.ac
--- a/configure.ac 2014-05-28 18:19:13.513980977 +0200
+++ b/configure.ac 2014-05-28 18:19:21.129660215 +0200
@@ -2,7 +2,7 @@
AC_INIT(ethtool, 3.14, netdev@vger.kernel.org)
Index: ethtool-4.11/configure.ac
===================================================================
--- ethtool-4.11.orig/configure.ac
+++ ethtool-4.11/configure.ac
@@ -2,7 +2,7 @@ dnl Process this file with autoconf to p
AC_INIT(ethtool, 4.11, netdev@vger.kernel.org)
AC_PREREQ(2.52)
AC_CONFIG_SRCDIR([ethtool.c])
-AM_INIT_AUTOMAKE([gnu])