From patchwork Thu Mar 8 18:17:36 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kanavin X-Patchwork-Id: 131047 Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp52053lja; Thu, 8 Mar 2018 10:26:47 -0800 (PST) X-Google-Smtp-Source: AG47ELtOieeA4+Mk5Ua3/iW/zsHYgil21DbTdh0XJrZNOEfErYSHfJdPxWu/36KpK7XlQzLNmtqu X-Received: by 10.99.119.72 with SMTP id s69mr21743471pgc.224.1520533606907; Thu, 08 Mar 2018 10:26:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520533606; cv=none; d=google.com; s=arc-20160816; b=MT0ycRaFtZ9IXHJQrxlY5GOD2+LZbs86uybDmVcXFx8gN0Ziv0rqJkpOtYT4vGTU1s cGvenrQuAoHetkyMKaMQoJPzop6+TaYRoMj7bNGASO+TfT1pu/4cTlxJC2ts54ckAyEh 6vE2gjgA/I7uxfBrrmHpvnRRhGE2wda3XFQwJDI9Jsd/7dT2TkfX677Eiz3F3gw+flzT BP5nEk/STuYSKNMLX7DDGIgGuaeCZAlcd4DoPLPuYtsvSljSqApnSWMr46jvzndBkGls G8aMa+vRQ+uoiz4XzGv+S3B3ZZ1D9G9gONo7EcZx84l0Kz6LIrp2mjhMXlc+RWI4Ej8c W0dA== 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=ZezPjv+07Qe+MPF20+KV5WSgiQzFK3fmxZB2+0rGt8w=; b=kSriu5OFWk+6fF25tIb7ZnpQhUIo69sYyzHErqgMCv3CfR+qoPZMX35DE1qe9TgHK8 FYxVbQP6XMb+gt2IUpztwtHLz8vQKRr+01sqESi0Yvog8w6svG9O4wXGhDDXPdfILVxZ ahNdUsPJIuYHTo509kkLaK7mJ/n6Lg1UDRESnBjDZkb7DNcCr41AZ61IGOKuwmH6s1Zt d3wI5PHqQi4lzqe01dZajsj+wkhQ+qUPEjJN9/HvvbH3m4j2pi82OpSb7qjBEzP043xr H14mkKUhaM+FRHXCC9ux+QHeopgqf6A8PCcb26beHDtdcDgEkx7OyIWCEIA+0o1uFFTO Imhg== 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 u91-v6si12236136plb.341.2018.03.08.10.26.46; Thu, 08 Mar 2018 10:26:46 -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 41AEF789E1; Thu, 8 Mar 2018 18:25:23 +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 1535478980 for ; Thu, 8 Mar 2018 18:25:03 +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:04 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.47,441,1515484800"; d="scan'208";a="24053779" Received: from kanavin-desktop.fi.intel.com ([10.237.68.161]) by orsmga006.jf.intel.com with ESMTP; 08 Mar 2018 10:25:03 -0800 From: Alexander Kanavin To: openembedded-core@lists.openembedded.org Date: Thu, 8 Mar 2018 20:17:36 +0200 Message-Id: <20180308181804.31261-14-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 14/42] dtc: 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-kernel/dtc/dtc/make_install.patch | 12 ++++++------ 1 file changed, 6 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-kernel/dtc/dtc/make_install.patch b/meta/recipes-kernel/dtc/dtc/make_install.patch index 1120617e7be..ccf17b38fdb 100644 --- a/meta/recipes-kernel/dtc/dtc/make_install.patch +++ b/meta/recipes-kernel/dtc/dtc/make_install.patch @@ -2,11 +2,11 @@ Upstream-Status: Inappropriate [configuration] Index: git/Makefile =================================================================== ---- git.orig/Makefile 2011-11-02 14:52:17.243104779 -0700 -+++ git/Makefile 2011-11-02 15:06:01.555104982 -0700 -@@ -161,8 +161,8 @@ - $(INSTALL) -d $(DESTDIR)$(BINDIR) - $(INSTALL) $(BIN) $(SCRIPTS) $(DESTDIR)$(BINDIR) +--- git.orig/Makefile ++++ git/Makefile +@@ -168,8 +168,8 @@ install-bin: all $(SCRIPTS) + install-lib: all + @$(VECHO) INSTALL-LIB $(INSTALL) -d $(DESTDIR)$(LIBDIR) - $(INSTALL) $(LIBFDT_lib) $(DESTDIR)$(LIBDIR) - ln -sf $(notdir $(LIBFDT_lib)) $(DESTDIR)$(LIBDIR)/$(LIBFDT_soname) @@ -14,4 +14,4 @@ Index: git/Makefile + ln -sf $(LIBFDT_soname) $(DESTDIR)$(LIBDIR)/$(notdir $(LIBFDT_lib)) ln -sf $(LIBFDT_soname) $(DESTDIR)$(LIBDIR)/libfdt.$(SHAREDLIB_EXT) $(INSTALL) -m 644 $(LIBFDT_archive) $(DESTDIR)$(LIBDIR) - $(INSTALL) -d $(DESTDIR)$(INCLUDEDIR) +