expat: 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: c74da9f2a5bd5a42f6c5791aeb4cc45973369818)

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:23 +02:00
committed by Richard Purdie
parent cf4232212e
commit a2a243b49b

View File

@@ -10,11 +10,12 @@ Updated to apply over expat 2.1.0
Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
diff -Nurd expat-2.1.0/configure.in expat-2.1.0/configure.in
--- expat-2.1.0/configure.ac 2012-03-04 01:45:53.000000000 +0200
+++ expat-2.1.0/configure.ac 2012-05-10 21:04:44.000000000 +0300
@@ -51,8 +51,6 @@
Index: expat-2.2.5/configure.ac
===================================================================
--- expat-2.2.5.orig/configure.ac
+++ expat-2.2.5/configure.ac
@@ -53,8 +53,6 @@ LIBAGE=6 # CMakeLists.txt!
CPPFLAGS="${CPPFLAGS} -DHAVE_EXPAT_CONFIG_H"
AC_CONFIG_HEADER(expat_config.h)
-sinclude(conftools/ac_c_bigendian_cross.m4)