summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2018-03-09 20:55:55 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-03-11 06:27:00 -0700
commit541711cc33eb6b571f8fa1329595a25288f00d5b (patch)
treed4fcc74f87b9bddda5fa1a489360c5addd9db4ca /meta/recipes-devtools
parenta857e9a6e89e6c9737dcb4859e7d04f619eeaed7 (diff)
downloadpoky-541711cc33eb6b571f8fa1329595a25288f00d5b.tar.gz
tcf-agent: 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: 9f77858360b33de6c4f66638fea8a8051fb6208f) 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')
-rw-r--r--meta/recipes-devtools/tcf-agent/tcf-agent/fix_ranlib.patch14
1 files changed, 8 insertions, 6 deletions
diff --git a/meta/recipes-devtools/tcf-agent/tcf-agent/fix_ranlib.patch b/meta/recipes-devtools/tcf-agent/tcf-agent/fix_ranlib.patch
index 5d704567c8..b66f41ad28 100644
--- a/meta/recipes-devtools/tcf-agent/tcf-agent/fix_ranlib.patch
+++ b/meta/recipes-devtools/tcf-agent/tcf-agent/fix_ranlib.patch
@@ -1,14 +1,16 @@
1Upstream-Status: Inappropriate [poky-specific fix] 1Upstream-Status: Inappropriate [poky-specific fix]
2 2
3--- a/Makefile.inc 3Index: agent/Makefile.inc
4+++ b/Makefile.inc 4===================================================================
5@@ -57,6 +57,9 @@ 5--- agent.orig/Makefile.inc
6 ifeq ($(NO_UUID),) 6+++ agent/Makefile.inc
7 LIBS += -luuid 7@@ -88,6 +88,9 @@ ifneq ($(OPSYS),Windows)
8 ifneq ($(CC),g++)
9 OPTS += -Wmissing-prototypes
8 endif 10 endif
9+ ifneq ($(RANLIB),) 11+ ifneq ($(RANLIB),)
10+ RANLIB += $@ 12+ RANLIB += $@
11+ endif 13+ endif
12 endif 14 endif
13 15
14 ifneq ($(OPSYS),Windows) 16 # Compiler flags definition