]> code.ossystems Code Review - openembedded-core.git/commitdiff
ethtool: refresh patches
authorRoss Burton <ross.burton@intel.com>
Fri, 9 Mar 2018 18:55:57 +0000 (20:55 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 11 Mar 2018 13:25:22 +0000 (06:25 -0700)
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 <ross.burton@intel.com>
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-extended/ethtool/ethtool/avoid_parallel_tests.patch

index dbf7142f18a04cb2f9990f3544bc785910008e75..de38104044cd0bfe4f54bb66377bff2e40e2d989 100644 (file)
@@ -5,12 +5,12 @@ Signed-off-by: Tudor Florea <tudor.florea@enea.com>
 Upstream-Status: Inappropriate
 (default automake behavior incompatible with ptest)
 
-Index: ethtool-4.11/configure.ac
+Index: ethtool-4.13/configure.ac
 ===================================================================
---- ethtool-4.11.orig/configure.ac
-+++ ethtool-4.11/configure.ac
+--- ethtool-4.13.orig/configure.ac
++++ ethtool-4.13/configure.ac
 @@ -2,7 +2,7 @@ dnl Process this file with autoconf to p
- AC_INIT(ethtool, 4.11, netdev@vger.kernel.org)
+ AC_INIT(ethtool, 4.13, netdev@vger.kernel.org)
  AC_PREREQ(2.52)
  AC_CONFIG_SRCDIR([ethtool.c])
 -AM_INIT_AUTOMAKE([gnu])