From patchwork Fri Mar 9 18:55:48 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kanavin X-Patchwork-Id: 131220 Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp1342902lja; Fri, 9 Mar 2018 11:04:13 -0800 (PST) X-Google-Smtp-Source: AG47ELtIbfzy6IT2pUTAIMOtlmv0KnYZ08nstkNCPyTA984zdd++8yROaJRzlH7iKMp+bTtefAiG X-Received: by 2002:a17:902:7509:: with SMTP id i9-v6mr29466279pll.220.1520622253531; Fri, 09 Mar 2018 11:04:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520622253; cv=none; d=google.com; s=arc-20160816; b=UopOe5EpX7Zp0lm2bZKDjEPq1SArPt+Hu8bBFLhHwMKkHlvjjCRyiosziyMOaEpZuI 40Jowy0mz4JwDdT7nGonlHK6hFQPbJaxyMGMd7ZbFrzDguPas0B88iQ8Bo/XEzfXOgqL qHfOiqC1p7/pfq05VUJKntodZDiiXd++kRxOxnZHSNquVtoKflOmVzHt8DCYwVMK837a MlkTOpkducbbPxy2MW6ULh1Aq5BKBOYC7lIISEVUHg/iadF/7B9NMeUNtR2e5tTl3jNP 9w/9eiVERyH1kk4mk0mzJOScN9lLA8jJ1W7Jv/KehnHwy71rCM8r3WfhsAkeQ4ldZK4O CoPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:delivered-to:arc-authentication-results; bh=kuliOdIX/x4ziuPPXvX5DBEKwYV4TqxrUyXUFaq1Usk=; b=SDqziXvn9OJ+q4PMINTSpnOoIDITEi/m4XR0FSl3zfww5HYcYsUFDsNB1Oxg0Sw0ze mKiYs3pIy2ytabSXLFI5RyQXgXHYRU5Kn2lowHq60beGMLrkebtHhWYAA6cWbSkqpuWY QNoylw9U4pDisZxL0D/4hQsGD5O4opZJScEFlrqMs+dQKyB6j53Z1AsklOYYkT0FeIGn AoRyWQHFP18l+5aqapPU6ki9MIV8F7w19da6RvwD51IF1qfqm5bcnKE7MjKpFrHBD6qC vzmbI/ZOhiIb+yrpkUKUeXeTvy/VJeq3BniZnJTPwduTAv1Etkf/qqPuQawSYthKOnc4 xV6w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id j186si1080741pge.747.2018.03.09.11.04.13; Fri, 09 Mar 2018 11:04:13 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 1E74C7897A; Fri, 9 Mar 2018 19:03:23 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mail.openembedded.org (Postfix) with ESMTP id EE10278927 for ; Fri, 9 Mar 2018 19:03:04 +0000 (UTC) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 Mar 2018 11:03:06 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.47,446,1515484800"; d="scan'208";a="32651907" Received: from kanavin-desktop.fi.intel.com ([10.237.68.161]) by FMSMGA003.fm.intel.com with ESMTP; 09 Mar 2018 11:03:05 -0800 From: Alexander Kanavin To: openembedded-core@lists.openembedded.org Date: Fri, 9 Mar 2018 20:55:48 +0200 Message-Id: <20180309185614.31113-10-alexander.kanavin@linux.intel.com> X-Mailer: git-send-email 2.16.1 In-Reply-To: <20180309185614.31113-1-alexander.kanavin@linux.intel.com> References: <20180309185614.31113-1-alexander.kanavin@linux.intel.com> Subject: [OE-core] [PATCH 10/36] i2c-tools: refresh patches X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org From: Ross Burton 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. Signed-off-by: Ross Burton Signed-off-by: Alexander Kanavin --- ...-tools-Module.mk-Add-missing-dependencies.patch | 25 ++++++++++------------ 1 file changed, 11 insertions(+), 14 deletions(-) -- 2.16.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-devtools/i2c-tools/files/0001-tools-Module.mk-Add-missing-dependencies.patch b/meta/recipes-devtools/i2c-tools/files/0001-tools-Module.mk-Add-missing-dependencies.patch index e47c02ab7f5..33cf2d42a87 100644 --- a/meta/recipes-devtools/i2c-tools/files/0001-tools-Module.mk-Add-missing-dependencies.patch +++ b/meta/recipes-devtools/i2c-tools/files/0001-tools-Module.mk-Add-missing-dependencies.patch @@ -17,12 +17,12 @@ Signed-off-by: Maxin B. John tools/Module.mk | 10 +++++----- 2 files changed, 12 insertions(+), 5 deletions(-) -diff --git a/lib/Module.mk b/lib/Module.mk -index 8a58f5b..67afe91 100644 ---- a/lib/Module.mk -+++ b/lib/Module.mk -@@ -37,6 +37,13 @@ ifeq ($(BUILD_STATIC_LIB),1) - LIB_TARGETS += $(LIB_STLIBNAME) +Index: i2c-tools-4.0/lib/Module.mk +=================================================================== +--- i2c-tools-4.0.orig/lib/Module.mk ++++ i2c-tools-4.0/lib/Module.mk +@@ -35,6 +35,13 @@ LIB_TARGETS += $(LIB_STLIBNAME) + LIB_OBJECTS += smbus.ao endif +# Library file to link against (static or dynamic) @@ -35,11 +35,11 @@ index 8a58f5b..67afe91 100644 # # Libraries # -diff --git a/tools/Module.mk b/tools/Module.mk -index 6421a23..609de7a 100644 ---- a/tools/Module.mk -+++ b/tools/Module.mk -@@ -24,19 +24,19 @@ TOOLS_TARGETS := i2cdetect i2cdump i2cset i2cget i2ctransfer +Index: i2c-tools-4.0/tools/Module.mk +=================================================================== +--- i2c-tools-4.0.orig/tools/Module.mk ++++ i2c-tools-4.0/tools/Module.mk +@@ -24,19 +24,19 @@ TOOLS_TARGETS := i2cdetect i2cdump i2cse # Programs # @@ -64,6 +64,3 @@ index 6421a23..609de7a 100644 $(CC) $(LDFLAGS) -o $@ $^ $(TOOLS_LDFLAGS) # --- -2.4.0 -