From patchwork Fri Mar 9 18:55:39 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kanavin X-Patchwork-Id: 131214 Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp1341617lja; Fri, 9 Mar 2018 11:03:01 -0800 (PST) X-Google-Smtp-Source: AG47ELtmxV51c4BhrkWN3QV3hXjDEoMHDL8EEFTvetBJskuwLizubtBJjbb4CUIOnoQecJjqzSHW X-Received: by 10.98.103.136 with SMTP id t8mr31209340pfj.177.1520622181070; Fri, 09 Mar 2018 11:03:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520622181; cv=none; d=google.com; s=arc-20160816; b=c/l6AOzkenXgvPme9G6g7A+8OTUSvoCf9+/0v1qd5IojLgXpeznutUsslVYVEEW72L wuEPxfy8rwhmgKONWTcTZ8Nc+qk5YgRKv4AiRnD5raXEocKh/jyURkFP6TTk2/zveN87 N0thmyHiYwzARArejAiOcPoJHuF7phcDWxT3anZi94N/ULkkuRjvFCSPOU2eUU97JaXK 4SGAAMdFM+032BATmCZgeiGV1icJN2yfCP5oR//CjivBG03N6NIYfejwei3TEIWvhb/j Hi0WNw7yJATDIz3oyKHC+sQDByN6b331vBqVtUQkezijXU0pce7kGfCYlDyw91SOQXGs r/MQ== 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:message-id:date:to:from:delivered-to :arc-authentication-results; bh=TcNNky7wMwdngj1u3i91aZvOheMFu5OEC5JApuonVwI=; b=N7eH6dyYFXq+AHgHO4XJIuguIbUaebv9sfgHfYnp58ZL6ve1BpLKDeSFtzowHSgadY S3dhHdkpL5gk4liWpADv+eMijCNAKG/v8kqkIE3iFY210B5oVcAci5VAp4+IREZO8DMm 9sZ+gjOMUYGsWp57M/hkSVtw8ctsbZRD3zGrYQ8ISIxc2kapnJUFvDS9Td4if1Om/3+9 iQDxnEH+k0nk0EdtpNtIIDOuD7wXgvI7HCgloo1nWwyCWvozClMg4M7UTxNMZP3rT8hw 1KaH/KQkDNxUDYsRDOM9sBg+7WML4CrOMjjzm6j3YI+0u6TGfVoeI7YhuHCx28r+c/Yw aqrA== 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 d4-v6si1266604plr.598.2018.03.09.11.03.00; Fri, 09 Mar 2018 11:03:01 -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 6FFF67891C; Fri, 9 Mar 2018 19:02:56 +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 AC77F7890D for ; Fri, 9 Mar 2018 19:02:53 +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:02:54 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.47,446,1515484800"; d="scan'208";a="32651850" Received: from kanavin-desktop.fi.intel.com ([10.237.68.161]) by FMSMGA003.fm.intel.com with ESMTP; 09 Mar 2018 11:02:53 -0800 From: Alexander Kanavin To: openembedded-core@lists.openembedded.org Date: Fri, 9 Mar 2018 20:55:39 +0200 Message-Id: <20180309185614.31113-1-alexander.kanavin@linux.intel.com> X-Mailer: git-send-email 2.16.1 Subject: [OE-core] [PATCH 01/36] pciutils: 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-bsp/pciutils/pciutils/configure.patch | 26 +++++++++++----------- 1 file changed, 13 insertions(+), 13 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-bsp/pciutils/pciutils/configure.patch b/meta/recipes-bsp/pciutils/pciutils/configure.patch index 55edfea3f61..a7e445733a8 100644 --- a/meta/recipes-bsp/pciutils/pciutils/configure.patch +++ b/meta/recipes-bsp/pciutils/pciutils/configure.patch @@ -13,11 +13,11 @@ Ionut Radu Upstream-Status: Inappropriate [embedded specific] -Index: pciutils-3.5.4/Makefile +Index: pciutils-3.5.6/Makefile =================================================================== ---- pciutils-3.5.4.orig/Makefile -+++ pciutils-3.5.4/Makefile -@@ -96,7 +95,7 @@ example: example.o lib/$(PCILIB) +--- pciutils-3.5.6.orig/Makefile ++++ pciutils-3.5.6/Makefile +@@ -96,7 +96,7 @@ example: example.o lib/$(PCILIB) example.o: example.c $(PCIINC) %: %.o @@ -26,12 +26,12 @@ Index: pciutils-3.5.4/Makefile %.8 %.7: %.man M=`echo $(DATE) | sed 's/-01-/-January-/;s/-02-/-February-/;s/-03-/-March-/;s/-04-/-April-/;s/-05-/-May-/;s/-06-/-June-/;s/-07-/-July-/;s/-08-/-August-/;s/-09-/-September-/;s/-10-/-October-/;s/-11-/-November-/;s/-12-/-December-/;s/\(.*\)-\(.*\)-\(.*\)/\3 \2 \1/'` ; sed <$< >$@ "s/@TODAY@/$$M/;s/@VERSION@/pciutils-$(VERSION)/;s#@IDSDIR@#$(IDSDIR)#" -Index: pciutils-3.5.4/lib/configure +Index: pciutils-3.5.6/lib/configure =================================================================== ---- pciutils-3.5.4.orig/lib/configure -+++ pciutils-3.5.4/lib/configure -@@ -14,6 +14,10 @@ echo_n() { - fi +--- pciutils-3.5.6.orig/lib/configure ++++ pciutils-3.5.6/lib/configure +@@ -9,6 +9,10 @@ echo_n() { + printf '%s' "$*" } +VERSION=$1 @@ -41,7 +41,7 @@ Index: pciutils-3.5.4/lib/configure if [ -z "$VERSION" -o -z "$IDSDIR" ] ; then echo >&2 "Please run the configure script from the top-level Makefile" exit 1 -@@ -21,8 +25,8 @@ fi +@@ -16,8 +20,8 @@ fi echo_n "Configuring libpci for your system..." if [ -z "$HOST" ] ; then @@ -52,7 +52,7 @@ Index: pciutils-3.5.4/lib/configure realsys="$sys" if [ "$sys" = "AIX" -a -x /usr/bin/oslevel -a -x /usr/sbin/lsattr ] then -@@ -30,7 +34,7 @@ if [ -z "$HOST" ] ; then +@@ -25,7 +29,7 @@ if [ -z "$HOST" ] ; then proc=`/usr/sbin/lsdev -C -c processor -S available -F name | head -1` cpu=`/usr/sbin/lsattr -F value -l $proc -a type | sed 's/_.*//'` else @@ -61,7 +61,7 @@ Index: pciutils-3.5.4/lib/configure fi if [ "$sys" = "GNU/kFreeBSD" -o "$sys" = "DragonFly" ] then -@@ -40,7 +44,7 @@ if [ -z "$HOST" ] ; then +@@ -35,7 +39,7 @@ if [ -z "$HOST" ] ; then then sys=cygwin fi @@ -70,7 +70,7 @@ Index: pciutils-3.5.4/lib/configure fi [ -n "$RELEASE" ] && rel="${RELEASE}" # CAVEAT: tr on Solaris is a bit weird and the extra [] is otherwise harmless. -@@ -49,6 +53,8 @@ cpu=`echo $host | sed 's/^\([^-]*\)-\([^ +@@ -44,6 +48,8 @@ cpu=`echo $host | sed 's/^\([^-]*\)-\([^ sys=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` echo " $host $rel $cpu $sys"