summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python3/070-dont-clean-ipkg-install.patch
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2018-03-08 20:18:02 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-03-09 09:17:04 -0800
commitfe9e4bbee7e079bfd2bc1e8fa6124ef2db2d2efe (patch)
treef1b1aa3b6138dbd5d6c901bbfe2a95fb949d8228 /meta/recipes-devtools/python/python3/070-dont-clean-ipkg-install.patch
parente5f5aa5604a7617af839832ded457c8a824bcf2f (diff)
downloadpoky-fe9e4bbee7e079bfd2bc1e8fa6124ef2db2d2efe.tar.gz
python: 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: 0b25fcee333e6207a8596d26adfa65fec85c26df) 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>
Diffstat (limited to 'meta/recipes-devtools/python/python3/070-dont-clean-ipkg-install.patch')
-rw-r--r--meta/recipes-devtools/python/python3/070-dont-clean-ipkg-install.patch14
1 files changed, 8 insertions, 6 deletions
diff --git a/meta/recipes-devtools/python/python3/070-dont-clean-ipkg-install.patch b/meta/recipes-devtools/python/python3/070-dont-clean-ipkg-install.patch
index 789929b715..f9971c6baf 100644
--- a/meta/recipes-devtools/python/python3/070-dont-clean-ipkg-install.patch
+++ b/meta/recipes-devtools/python/python3/070-dont-clean-ipkg-install.patch
@@ -8,9 +8,11 @@ Upstream-Status: Inappropriate [OE specific]
8 Makefile.pre.in | 6 +++--- 8 Makefile.pre.in | 6 +++---
9 1 file changed, 3 insertions(+), 3 deletions(-) 9 1 file changed, 3 insertions(+), 3 deletions(-)
10 10
11--- a/Makefile.pre.in 11Index: Python-3.5.3/Makefile.pre.in
12+++ b/Makefile.pre.in 12===================================================================
13@@ -1306,8 +1306,8 @@ touch: 13--- Python-3.5.3.orig/Makefile.pre.in
14+++ Python-3.5.3/Makefile.pre.in
15@@ -1574,8 +1574,8 @@ touch:
14 # Sanitation targets -- clean leaves libraries, executables and tags 16 # Sanitation targets -- clean leaves libraries, executables and tags
15 # files, which clobber removes as well 17 # files, which clobber removes as well
16 pycremoval: 18 pycremoval:
@@ -21,7 +23,7 @@ Upstream-Status: Inappropriate [OE specific]
21 23
22 rmtestturds: 24 rmtestturds:
23 -rm -f *BAD *GOOD *SKIPPED 25 -rm -f *BAD *GOOD *SKIPPED
24@@ -1321,9 +1321,9 @@ docclean: 26@@ -1589,9 +1589,9 @@ docclean:
25 -rm -rf Doc/tools/sphinx Doc/tools/pygments Doc/tools/docutils 27 -rm -rf Doc/tools/sphinx Doc/tools/pygments Doc/tools/docutils
26 28
27 clean: pycremoval 29 clean: pycremoval
@@ -32,5 +34,5 @@ Upstream-Status: Inappropriate [OE specific]
32+ find . ! -path './ipkg-install/*' -name '*.s[ol]' -exec rm -f {} ';' 34+ find . ! -path './ipkg-install/*' -name '*.s[ol]' -exec rm -f {} ';'
33+ find . ! -path './ipkg-install/*' -name '*.so.[0-9]*.[0-9]*' -exec rm -f {} ';' 35+ find . ! -path './ipkg-install/*' -name '*.so.[0-9]*.[0-9]*' -exec rm -f {} ';'
34 find build -name 'fficonfig.h' -exec rm -f {} ';' || true 36 find build -name 'fficonfig.h' -exec rm -f {} ';' || true
35 find build -name 'fficonfig.py' -exec rm -f {} ';' || true 37 find build -name '*.py' -exec rm -f {} ';' || true
36 -rm -f Lib/lib2to3/*Grammar*.pickle 38 find build -name '*.py[co]' -exec rm -f {} ';' || true