From patchwork Thu Mar 8 18:17:31 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kanavin X-Patchwork-Id: 131042 Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp51337lja; Thu, 8 Mar 2018 10:26:03 -0800 (PST) X-Google-Smtp-Source: AG47ELs+0uF98x7rfRK+rQ1kxNd3N3HPskfITPf/aNpSAWuM40wTkIppZQYJ+6uJwcwmaQ1z7zid X-Received: by 10.101.93.135 with SMTP id f7mr21147601pgt.82.1520533562923; Thu, 08 Mar 2018 10:26:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520533562; cv=none; d=google.com; s=arc-20160816; b=P4ULaUwWdYVBx1eXGIH+az08cC8OgRpSMGqqITzVUYv/lCSahU57ECK7Skqoqk5Jus VQRiRY7n8Qy7pdy52bLrZlWhbZFAOi9CTvPuQLkFBwE3HpEnnVLSXrV/y+t22KBkjTNP Khm0ww2uRe3ikCDuVF8tL5S2+FvtjJtMCivPUciwjpvvz0PaOwtV9KKX6JwtoG2/Z/bI yCOWR43XMjR/H5FTVRLAG3Ck1OzWuA1qYRIPvlgmIRCVr+YfAROG/rXyJwro30yWT/w4 YDQaxxG/G8UOc4TB1obFTFz/xFITit55hqAVIRlMMY7nJQ8B0IYxOmrL7htGNxgGSBNl luhA== 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=og1271azbcizoHl1SAANlWWDpGgXiR85aE720u+ZChI=; b=BpmUWy1cUaQ2/BMowjn/F7nqNHbXIN+voIY3Khd0XvtYt5JLy3wQfAhUfFLWg6wNGg 5L0SlJidbumNqV74+O6OhegxBFtZ/YOFuM8TzMHJ36IKwxxiC0CrYwgpvm4Pijc4gqjH ZSaJPFezHt2ESVzZowX8HgrtsZVGhpCArCPJhJ9uMzYrsyW/0PlmbgVf+wT0IFII0tDe QyQODzmfEIcg2GcTrFdJAHT84p4TEwA+BtvdxRZVdz+vhRjLtARQ2u423oWsQBCscI6F vKI6YuoMDKZ9h1r5ZcO7TeLHPckMHCz7+2apHaoalVE5Ho8zS1WxZ2Uhuj/eWIVeZ8+Q WrFA== 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 i2si12588742pgs.639.2018.03.08.10.26.02; Thu, 08 Mar 2018 10:26:02 -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 C52C778979; Thu, 8 Mar 2018 18:25:17 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mail.openembedded.org (Postfix) with ESMTP id 2CD9178973 for ; Thu, 8 Mar 2018 18:24:55 +0000 (UTC) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 08 Mar 2018 10:24:57 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.47,441,1515484800"; d="scan'208";a="24053691" Received: from kanavin-desktop.fi.intel.com ([10.237.68.161]) by orsmga006.jf.intel.com with ESMTP; 08 Mar 2018 10:24:55 -0800 From: Alexander Kanavin To: openembedded-core@lists.openembedded.org Date: Thu, 8 Mar 2018 20:17:31 +0200 Message-Id: <20180308181804.31261-9-alexander.kanavin@linux.intel.com> X-Mailer: git-send-email 2.16.1 In-Reply-To: <20180308181804.31261-1-alexander.kanavin@linux.intel.com> References: <20180308181804.31261-1-alexander.kanavin@linux.intel.com> Subject: [OE-core] [PATCH 09/42] libffi: 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-support/libffi/libffi/not-win32.patch | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 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-support/libffi/libffi/not-win32.patch b/meta/recipes-support/libffi/libffi/not-win32.patch index 1e90125edd7..80c40a4742d 100644 --- a/meta/recipes-support/libffi/libffi/not-win32.patch +++ b/meta/recipes-support/libffi/libffi/not-win32.patch @@ -11,12 +11,16 @@ As this block is generally pointless, disable it. Upstream-Status: Inappropriate Signed-off-by: Ross Burton ---- a/configure.ac~ 2014-11-12 11:56:51.000000000 +0000 -+++ b/configure.ac 2016-02-04 14:02:53.765710532 +0000 -@@ -593,5 +593,5 @@ +Index: libffi-3.2.1/configure.ac +=================================================================== +--- libffi-3.2.1.orig/configure.ac ++++ libffi-3.2.1/configure.ac +@@ -592,7 +592,7 @@ AC_ARG_ENABLE(purify-safety, + # These variables are only ever used when we cross-build to X86_WIN32. # And we only support this with GCC, so... -if test "x$GCC" = "xyes"; then +if false; then if test -n "$with_cross_host" && - test x"$with_cross_host" != x"no"; then \ No newline at end of file + test x"$with_cross_host" != x"no"; then + toolexecdir="${exec_prefix}"/'$(target_alias)'