From patchwork Fri Mar 9 18:55:55 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kanavin X-Patchwork-Id: 131226 Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp1343827lja; Fri, 9 Mar 2018 11:05:13 -0800 (PST) X-Google-Smtp-Source: AG47ELs5iedEM9nF+dzdFTFJLdupyJ7rb8MK2yCTAV/IFy/+M6UIpi6DLaTl855TmjWivFpPVEmR X-Received: by 10.101.97.72 with SMTP id o8mr25539282pgv.119.1520622313364; Fri, 09 Mar 2018 11:05:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520622313; cv=none; d=google.com; s=arc-20160816; b=IoRyQKAlulhT1d8IQUwilGQfLmjvhZkvQxCO83jAF5q6wvD9tozVaGbjDaC2EtcSA1 6pkmeMK2xIE7pwqC1+jm/7Eg8fIwVif95iDmSKpXFIjFhmIUPdwNxVF5lxp1i42sZ16b VCXxJjpVseCun0ENkdnleX2ssUyPS0XMYJMyY+yCAYBYfy1AAEtucrxgjEc0RgyKcmG5 6SJS+sMuQlIpYU7kM33vHyKGCpQT+oaqsEinX8MJ90kKBZYz9IXA8iCa/kZoox6M7Kd6 ieucrr2CoeCICRfTPN1bVGoNLMlAlQRZwfLEuXP9yRcqr3Xd0P05d4Wa09Hm+cQuif5k Bsxw== 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=/vi4uoXqZ5eSBf3rBzA6qQNyAWmQ/+ktCw2Fpf4J8Cg=; b=iZSw5NniZlKAWQTxoKzhFIL3zMqWZZA2l1z4rpwOFrJHnkA6EPXHeVghiRn4j0SXD1 D3bte+kDGYZxod7nOHRwlR1RoWZf5ZXvwFdVG+tZwM0RjbzuEaivPmNjLO2oHjsinvsN BdqbIcEocIvJRnREKWimW5QRzoFWefMzLGXkXGt1JXnz8fNtJwSLhGd7O/tlR3qb6kpT 9mjvq9Jy3kZBG9pqKS+BqZLYwN6I8fqZCVso8mYbNe84Se6IaAf+zcc6WC4cdXf+6M06 ELzlNgaeQm1mFAAEFi1NGLR2FXM31/hwRRbn2/YP+xJzxlD5MFlIvwtncYLtbjAlVJXi A3mg== 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 j5si1295975pfe.334.2018.03.09.11.05.12; Fri, 09 Mar 2018 11:05: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 177097899F; Fri, 9 Mar 2018 19:03:31 +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 6FBB978919 for ; Fri, 9 Mar 2018 19:03:15 +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:17 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.47,446,1515484800"; d="scan'208";a="32651970" Received: from kanavin-desktop.fi.intel.com ([10.237.68.161]) by FMSMGA003.fm.intel.com with ESMTP; 09 Mar 2018 11:03:15 -0800 From: Alexander Kanavin To: openembedded-core@lists.openembedded.org Date: Fri, 9 Mar 2018 20:55:55 +0200 Message-Id: <20180309185614.31113-17-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 17/36] tcf-agent: 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 --- meta/recipes-devtools/tcf-agent/tcf-agent/fix_ranlib.patch | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 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/tcf-agent/tcf-agent/fix_ranlib.patch b/meta/recipes-devtools/tcf-agent/tcf-agent/fix_ranlib.patch index 5d704567c8f..b66f41ad280 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 @@ Upstream-Status: Inappropriate [poky-specific fix] ---- a/Makefile.inc -+++ b/Makefile.inc -@@ -57,6 +57,9 @@ - ifeq ($(NO_UUID),) - LIBS += -luuid +Index: agent/Makefile.inc +=================================================================== +--- agent.orig/Makefile.inc ++++ agent/Makefile.inc +@@ -88,6 +88,9 @@ ifneq ($(OPSYS),Windows) + ifneq ($(CC),g++) + OPTS += -Wmissing-prototypes endif + ifneq ($(RANLIB),) + RANLIB += $@ + endif endif - ifneq ($(OPSYS),Windows) + # Compiler flags definition