1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-08 17:19:20 +00:00

iproute2: 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: 3d33f83ffa8ba2a36a03489b16292d3132f0eb27)

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-09 20:55:43 +02:00
committed by Richard Purdie
parent b308fd1181
commit 7187b63c19
@@ -9,19 +9,19 @@ Upstream-Status: Pending
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Shane Wang <shane.wang@intel.com>
Index: iproute2-4.11.0/configure
Index: iproute2-4.14.1/configure
===================================================================
--- iproute2-4.11.0.orig/configure
+++ iproute2-4.11.0/configure
--- iproute2-4.14.1.orig/configure
+++ iproute2-4.14.1/configure
@@ -2,6 +2,7 @@
# This is not an autoconf generated configure
#
INCLUDE=${1:-"$PWD/include"}
+SYSROOT=$1
# Make a temp directory in build tree.
TMPDIR=$(mktemp -d config.XXXXXX)
@@ -192,7 +193,7 @@ check_ipt_lib_dir()
# Output file which is input to Makefile
CONFIG=config.mk
@@ -195,7 +196,7 @@ check_ipt_lib_dir()
return
fi