From patchwork Thu Mar 8 18:17:41 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kanavin X-Patchwork-Id: 131052 Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp52694lja; Thu, 8 Mar 2018 10:27:24 -0800 (PST) X-Google-Smtp-Source: AG47ELt+k0XOS7ocAKn0lYOIbaxhEGKjnU4paIA+eR75wd6fl8nZQjb/ZlkDCRe943lPfU6Fd6rA X-Received: by 2002:a17:902:b690:: with SMTP id c16-v6mr25199957pls.264.1520533644238; Thu, 08 Mar 2018 10:27:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520533644; cv=none; d=google.com; s=arc-20160816; b=PafWLW4G1toSW372zKT5gFSvyDxeyjzX7VaO/vjkcse1kmXuMT6X6YuFvgRYkeQC5K ihwO9UTQfoLFFLRYMK/atjVAbVErSUe/7/DIii0mB+Hbedo/IonkucPdiLY3ia8V5ZYL VvIqEl7HMBjUk9VaUmo5XMh89dOXTuyoKlXRcB/0N/5/O0+xFxQZKzlZUZaOr6cwvuLl QtBJUKXrmuSc6QAWTZW+ENo8WQdh8WsOvOEx9yH6/xW4dtFwfPOZ/SvSXWnmwM+jfLxN ucN4ZzlSiHupQwgjy1XsNMFwmLDH8djrQg9DtH/ChDAMJ0hCbmYiUqjh9nwFX8YIm1Db THPg== 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=DhMKjBzzII9P8s+R6oIF9AAtmKrNZJnSvXQL+bSjtRI=; b=kpDlsh3WnRb1v+fY1bAWtXxQeXAzAPLyrWEULx4nOn75M0BZ6slpF72bpGVvGgyaR0 ehtht6OcszJoGi6V6MOh7ZqjBSUR7Bmv8VtbrmcaWfQoo1pJnaAC0qNTnJJ2s/IjfoS2 v2ZFKl2QEGbtt25FnwV7SnPUHSgVMY2pUC9NRYQCpTZS1ocnAcUoN39w7LFXJdgJtfmh G0aBBnpVo7ifICctp9Mu7MbBt7vdviZe54ULuOsbcGWPwfBuUdtGlYdW+zx/FgWeDKY3 dv9pkL9t8HRwic5pgtvO4VVaDlJklAI4odPhSfhezGlNvVzw2RSP43l5DkOZjKpTpwSU 35fA== 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 x3-v6si15220709plb.738.2018.03.08.10.27.23; Thu, 08 Mar 2018 10:27:24 -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 B1961789F6; Thu, 8 Mar 2018 18:25:28 +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 DB2B6789A0 for ; Thu, 8 Mar 2018 18:25:10 +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:25:12 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.47,441,1515484800"; d="scan'208";a="24053903" Received: from kanavin-desktop.fi.intel.com ([10.237.68.161]) by orsmga006.jf.intel.com with ESMTP; 08 Mar 2018 10:25:11 -0800 From: Alexander Kanavin To: openembedded-core@lists.openembedded.org Date: Thu, 8 Mar 2018 20:17:41 +0200 Message-Id: <20180308181804.31261-19-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 19/42] at: 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-extended/at/at/makefile-fix-parallel.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-extended/at/at/makefile-fix-parallel.patch b/meta/recipes-extended/at/at/makefile-fix-parallel.patch index 932a4c0bfe6..d6056dceffa 100644 --- a/meta/recipes-extended/at/at/makefile-fix-parallel.patch +++ b/meta/recipes-extended/at/at/makefile-fix-parallel.patch @@ -15,13 +15,13 @@ Signed-off-by: Robert Yang Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) -diff --git a/Makefile.in b/Makefile.in -index 2a9b918..aa7c04a 100644 ---- a/Makefile.in -+++ b/Makefile.in -@@ -75,7 +75,9 @@ at: $(ATOBJECTS) +Index: at-3.1.20/Makefile.in +=================================================================== +--- at-3.1.20.orig/Makefile.in ++++ at-3.1.20/Makefile.in +@@ -76,7 +76,9 @@ at: $(ATOBJECTS) atd: $(RUNOBJECTS) - $(CC) $(LDFLAGS) -o atd $(RUNOBJECTS) $(LIBS) $(PAMLIB) + $(CC) $(LDFLAGS) -o atd $(RUNOBJECTS) $(LIBS) $(PAMLIB) $(SELINUXLIB) -y.tab.c y.tab.h: parsetime.y +y.tab.h: y.tab.c @@ -30,6 +30,3 @@ index 2a9b918..aa7c04a 100644 $(YACC) -d parsetime.y lex.yy.c: parsetime.l --- -1.7.9.5 -