From patchwork Thu Mar 8 18:17:30 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kanavin X-Patchwork-Id: 131041 Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp51193lja; Thu, 8 Mar 2018 10:25:54 -0800 (PST) X-Google-Smtp-Source: AG47ELsYEWkyXhUfn730OpZk+jao/GeUdns6Tdhpsh/4rGGI/S5JTBPJX40GGP+Byf962bbXAgaL X-Received: by 2002:a17:902:ba95:: with SMTP id k21-v6mr25260155pls.111.1520533554045; Thu, 08 Mar 2018 10:25:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520533554; cv=none; d=google.com; s=arc-20160816; b=JZ28xy8GHtBWMWCGTsWNM5pABTTSrkD01pqc1L1LrhDh/fky+zgKU5f6mwRtBIctm/ puGExE6EimWI48lyzg0Ce0c535xDA9EaFNHc881nSfC2sKMUgA6fnlQawdDC3e/FDh0t cXuoIgiZUPUbi7kyIaUswWZZBTiQpl9hS4PtosNda5DgqJpXCTOVAyYy0LvBf4j5kmBe YZqxO81H7zicb5wIWFjDmdxTPmw5XM4hwVTgOpVOV0FZvIw11fkB8QYino3eknWACPIv ONfXtNRNYzL1r1t52IAGK0+9KwNha82OnZ58bF3XmWc/izIqTF9qRQpDuKqqo9umCro3 iMYw== 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=7/ktcmQMVBsEuXj/LS5XDmyA06kKzIrn33Co15uh0QE=; b=eOpSXJzSyfTjyS19U7p7hvHSRjL+jXp5iWTlmmgbkJMHvEXiy7M5dD124SksspBIft FVSon5iP23dp/OzJRzmFrigb7Og37c6+pxDPcCTL29G+Flc6sJEqOPZgTargd4JxAbRj CN2cRiQr4uSCiVIIdPoIN35PrEJDBpD0RjmMm15DppcijcWEGHKVD1EDEP4auKl7jy/P lO4NYFIJ0VxYtwCezOeOJNFMHJBEzJq4CZSm1r0bZ5BaaX3rfWeU5xf9Dwz3YQCKpUaK moZ20fA2k9O2gVmxikDQNJA2UUu1XW7YEufzOd9Z7PjmwpkEsmVu5dbybnSMWX5OxUfC gLOw== 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 v62si14105012pfi.156.2018.03.08.10.25.53; Thu, 08 Mar 2018 10:25:54 -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 B33F8789AF; Thu, 8 Mar 2018 18:25:16 +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 9E9DA78985 for ; Thu, 8 Mar 2018 18:24:53 +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:55 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.47,441,1515484800"; d="scan'208";a="24053676" Received: from kanavin-desktop.fi.intel.com ([10.237.68.161]) by orsmga006.jf.intel.com with ESMTP; 08 Mar 2018 10:24:54 -0800 From: Alexander Kanavin To: openembedded-core@lists.openembedded.org Date: Thu, 8 Mar 2018 20:17:30 +0200 Message-Id: <20180308181804.31261-8-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 08/42] gnutls: 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 --- .../gnutls/gnutls/0001-configure.ac-fix-sed-command.patch | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 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/gnutls/gnutls/0001-configure.ac-fix-sed-command.patch b/meta/recipes-support/gnutls/gnutls/0001-configure.ac-fix-sed-command.patch index f0b7ca2ec84..b6e7bc96504 100644 --- a/meta/recipes-support/gnutls/gnutls/0001-configure.ac-fix-sed-command.patch +++ b/meta/recipes-support/gnutls/gnutls/0001-configure.ac-fix-sed-command.patch @@ -14,19 +14,16 @@ Signed-off-by: Alexander Kanavin configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -diff --git a/configure.ac b/configure.ac -index 6907b21..7c70d9e 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -948,7 +948,7 @@ YEAR=`date +%Y` +Index: gnutls-3.5.16/configure.ac +=================================================================== +--- gnutls-3.5.16.orig/configure.ac ++++ gnutls-3.5.16/configure.ac +@@ -955,7 +955,7 @@ YEAR=`date +%Y` AC_SUBST([YEAR], $YEAR) for i in ${srcdir}/src/*-args.c.bak ${srcdir}/src/*-args.h.bak; do - nam=$(basename $i|sed 's/.bak//g') + nam=$(basename $i|sed 's/\.bak$//') if test "$create_libopts_links" = "yes";then + rm -f "src/$nam.stamp" rm -f "src/$nam" - AC_CONFIG_LINKS([src/$nam:$i]) --- -2.11.0 -