summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2018-03-08 20:17:30 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-03-09 09:17:02 -0800
commit63fe020e5ec618a181ce799230245fdd6adeb232 (patch)
tree165ebed9c7d67ef3dab02f7922990eb228bbe0a0
parentc43ff6a8b2d448401f39c3acdd4703d6cf5be68f (diff)
downloadpoky-63fe020e5ec618a181ce799230245fdd6adeb232.tar.gz
gnutls: 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: ca9c8fe634ca91fe1825fae7ebb0d00021ca480b) 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>
-rw-r--r--meta/recipes-support/gnutls/gnutls/0001-configure.ac-fix-sed-command.patch15
1 files changed, 6 insertions, 9 deletions
diff --git a/meta/recipes-support/gnutls/gnutls/0001-configure.ac-fix-sed-command.patch b/meta/recipes-support/gnutls/gnutls/0001-configure.ac-fix-sed-command.patch
index f0b7ca2ec8..b6e7bc9650 100644
--- a/meta/recipes-support/gnutls/gnutls/0001-configure.ac-fix-sed-command.patch
+++ b/meta/recipes-support/gnutls/gnutls/0001-configure.ac-fix-sed-command.patch
@@ -14,19 +14,16 @@ Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
14 configure.ac | 2 +- 14 configure.ac | 2 +-
15 1 file changed, 1 insertion(+), 1 deletion(-) 15 1 file changed, 1 insertion(+), 1 deletion(-)
16 16
17diff --git a/configure.ac b/configure.ac 17Index: gnutls-3.5.16/configure.ac
18index 6907b21..7c70d9e 100644 18===================================================================
19--- a/configure.ac 19--- gnutls-3.5.16.orig/configure.ac
20+++ b/configure.ac 20+++ gnutls-3.5.16/configure.ac
21@@ -948,7 +948,7 @@ YEAR=`date +%Y` 21@@ -955,7 +955,7 @@ YEAR=`date +%Y`
22 AC_SUBST([YEAR], $YEAR) 22 AC_SUBST([YEAR], $YEAR)
23 23
24 for i in ${srcdir}/src/*-args.c.bak ${srcdir}/src/*-args.h.bak; do 24 for i in ${srcdir}/src/*-args.c.bak ${srcdir}/src/*-args.h.bak; do
25- nam=$(basename $i|sed 's/.bak//g') 25- nam=$(basename $i|sed 's/.bak//g')
26+ nam=$(basename $i|sed 's/\.bak$//') 26+ nam=$(basename $i|sed 's/\.bak$//')
27 if test "$create_libopts_links" = "yes";then 27 if test "$create_libopts_links" = "yes";then
28 rm -f "src/$nam.stamp"
28 rm -f "src/$nam" 29 rm -f "src/$nam"
29 AC_CONFIG_LINKS([src/$nam:$i])
30--
312.11.0
32