From patchwork Fri Mar 9 18:55:49 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kanavin X-Patchwork-Id: 131221 Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp1343007lja; Fri, 9 Mar 2018 11:04:21 -0800 (PST) X-Google-Smtp-Source: AG47ELt9pZTVieyjEdPNBnBwzoK2nLIWQsrhrseDmF0Kwm4hCx60aWL79kLRYjqEdr55zQgrq/lG X-Received: by 10.101.86.198 with SMTP id w6mr24891349pgs.434.1520622261440; Fri, 09 Mar 2018 11:04:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520622261; cv=none; d=google.com; s=arc-20160816; b=pdm1iZjhFGVuVbwwIbFfOZWtkOgN2Vu/kPjZZ1sF2iRzgXGDgT+g0kkOjz5eDFKvPi quxo/hlT8I0tNCP/yycgY5oidRc9HiPamMfSyuTAZpny5H2rQ7dIDLE1NDsk5NKyJnkF 9QziMSvY0boOuPcFkuCeAGzJdAuuIkVmjRbB4kTPSToE5E1NcOR6bIDs5/gZC4/KDiBh nowcsOpwkWz9+iCV+TKOsVS7kA9SDG4ymwJD8gFYiA7GyG0Ozjol6cCgGCAWEdi1VPew KrQXHUQaK7hmApJmWhcOw5fwcJQ81m5tRfFhvPaXqCNkrZ+Stsn/tkD3f2hWnSOi1pim MEvQ== 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=TnKJRdftYT3bcSsVjBdsZ1qxXkYFmXx5xvenw24GCNw=; b=Rbp46SURKkAZcUIOpS7x0jeg75VrdpnrhhxE+0TY47CPYCbsoNh9TQWN1VQemXE03O HMTADfinZW5FnKjTfeqBuuwSE9z9cbEp4mfZOD991If3N7tNYbBUGAn26KHl8v3ih2Hd VVf+mUJx4u1gbH8ZnYOkZcR3tGKK+WHStNiFNoTxITun42xSHq0tlA9z7U8XOcboI+7F LQUK4xQYFr8sheuogGu9NwTgM9Y5B+rmxsqTiF0WxG2/k1pnESvleoO+8K8/rfCJQfYL skypzXRttnCGNDtUqmFSeVpWt3MmI7DFJ5x8Ke/092nzQp433jrGDXVycRSSXu4ijViz N04w== 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 a8si1088057pgq.113.2018.03.09.11.04.20; Fri, 09 Mar 2018 11:04:21 -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 514EC78987; Fri, 9 Mar 2018 19:03:24 +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 488D77892F for ; Fri, 9 Mar 2018 19:03:06 +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:08 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.47,446,1515484800"; d="scan'208";a="32651913" Received: from kanavin-desktop.fi.intel.com ([10.237.68.161]) by FMSMGA003.fm.intel.com with ESMTP; 09 Mar 2018 11:03:06 -0800 From: Alexander Kanavin To: openembedded-core@lists.openembedded.org Date: Fri, 9 Mar 2018 20:55:49 +0200 Message-Id: <20180309185614.31113-11-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 11/36] m4: 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/m4/m4/ac_config_links.patch | 11 ++++++----- 1 file changed, 6 insertions(+), 5 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/m4/m4/ac_config_links.patch b/meta/recipes-devtools/m4/m4/ac_config_links.patch index 275c0b2e7d8..71edf595122 100644 --- a/meta/recipes-devtools/m4/m4/ac_config_links.patch +++ b/meta/recipes-devtools/m4/m4/ac_config_links.patch @@ -14,10 +14,11 @@ Tested on x86_64_linux (Ubuntu 8.04 and 9.10). 2009-11-10 Esben Haabendal -diff -urN m4-1.4.13.orig/configure m4-1.4.13/configure ---- m4-1.4.13.orig/configure 2009-11-10 10:54:00.301707097 +0100 -+++ m4-1.4.13/configure 2009-11-10 10:54:17.314206379 +0100 -@@ -14860,8 +14860,8 @@ +Index: m4-1.4.18/configure +=================================================================== +--- m4-1.4.18.orig/configure ++++ m4-1.4.18/configure +@@ -24415,8 +24415,8 @@ $as_echo "#define GNULIB_TEST_GETTIMEOFD # only, it does not matter if we skip the link with older autoconf. # Automake 1.10.1 and earlier try to remove GNUmakefile in non-VPATH # builds, so use a shell variable to bypass this. @@ -27,4 +28,4 @@ diff -urN m4-1.4.13.orig/configure m4-1.4.13/configure + # ac_config_links="$ac_config_links $GNUmakefile:$GNUmakefile" - + :