m4: 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: 87118e6a2ed6da1ceaf484c326ec6d0ac8c1b8be)

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:49 +02:00
committed by Richard Purdie
parent bc2d5c5c1c
commit 19e4de6eba

View File

@@ -14,10 +14,11 @@ Tested on x86_64_linux (Ubuntu 8.04 and 9.10).
2009-11-10 Esben Haabendal <eha@doredevelopment.dk>
diff -urN m4-1.4.13.orig/configure m4-1.4.13/configure
--- m4-1.4.13.orig/configure 2009-11-10 10:54:00.301707097 +0100
+++ m4-1.4.13/configure 2009-11-10 10:54:17.314206379 +0100
@@ -14860,8 +14860,8 @@
Index: m4-1.4.18/configure
===================================================================
--- m4-1.4.18.orig/configure
+++ m4-1.4.18/configure
@@ -24415,8 +24415,8 @@ $as_echo "#define GNULIB_TEST_GETTIMEOFD
# only, it does not matter if we skip the link with older autoconf.
# Automake 1.10.1 and earlier try to remove GNUmakefile in non-VPATH
# builds, so use a shell variable to bypass this.
@@ -27,4 +28,4 @@ diff -urN m4-1.4.13.orig/configure m4-1.4.13/configure
+ # ac_config_links="$ac_config_links $GNUmakefile:$GNUmakefile"
: