From patchwork Thu Mar 8 18:17:49 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kanavin X-Patchwork-Id: 131059 Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp53542lja; Thu, 8 Mar 2018 10:28:16 -0800 (PST) X-Google-Smtp-Source: AG47ELthtY0iA9+ey4/EEbU86gHFEzIqYRhFlwP2Nvqf/3Ghrg4ZYA7oS2eZpx3vEWs9KNVQuSuc X-Received: by 10.101.100.208 with SMTP id t16mr21082757pgv.398.1520533696702; Thu, 08 Mar 2018 10:28:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520533696; cv=none; d=google.com; s=arc-20160816; b=G2kkyRF0PkKOXZu+MWXDa6d+mR2KLPVSemnHYpCaybiWU2f87aC3cYt8hepDN+ImIW J9YlpbC9deueBWpeffYKTrM8mnJQdiCuuPGE1Wi+WdSQruMBYgouZXWHLGqgCThH6+lc AZOGqigYUeKoSn8SRUtPOunrU+MxZlp34Uu4gIRm4LFSj2vSAswtklCFcF36m2fyUk// ExeeWANIJ5oFE3ELAQ7JZW8/G4DE60U8aWIV579roKf75u2E4a/fExcdwb97l6TOnj0D AoBiy/ktseqv3ZTZYPITifZCZVZ061oafLvOwqHEa3ZVCjkOrcwgNdDSLqS60zVsF/OA yFBg== 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=pVISjXwpCVdjv8jgMqy57lp2cEZSQRn7UAqhBq63y1k=; b=Wdzc1F6H/LbY88Hr433sNYHuIIr3DInmGvxr1e8GJuURL5epesQy/6TRhXY4mJEz2y DsXXepT9YcAWiddkaRbs7BsiK8KEBbHKzh6SLPJQPduE4bNGQYBl9lioFwjgJzToFlDl 3KY8hRJaI3hO19fuaivebQTycU6Ea8arvptmW76boRQypQWH5NzXSBl6tU/3X0reK9ad yOek4BE0Li4msG5YOgXP0NaiPVSSNqQN3Uuoz+DS7CKhvA+A+Q6MwbCMbP4g7f0iQ2of xn5FcIwjGQR7B4O6lEWwpNxPrHSnppVd8qoXQbT5Z+0+Bn9SkDSndHhr59B9a9pvNZB9 PF6Q== 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 y4si13391307pgq.380.2018.03.08.10.28.16; Thu, 08 Mar 2018 10:28:16 -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 E62A478A2E; Thu, 8 Mar 2018 18:25:37 +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 3CDC97898C for ; Thu, 8 Mar 2018 18:25:23 +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:25 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.47,441,1515484800"; d="scan'208";a="24053986" Received: from kanavin-desktop.fi.intel.com ([10.237.68.161]) by orsmga006.jf.intel.com with ESMTP; 08 Mar 2018 10:25:23 -0800 From: Alexander Kanavin To: openembedded-core@lists.openembedded.org Date: Thu, 8 Mar 2018 20:17:49 +0200 Message-Id: <20180308181804.31261-27-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 27/42] parted: 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/parted/files/no_check.patch | 10 +++++----- meta/recipes-extended/parted/files/syscalls.patch | 12 ++++++------ 2 files changed, 11 insertions(+), 11 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/parted/files/no_check.patch b/meta/recipes-extended/parted/files/no_check.patch index 58d8db44264..e6a26d11a5c 100644 --- a/meta/recipes-extended/parted/files/no_check.patch +++ b/meta/recipes-extended/parted/files/no_check.patch @@ -5,12 +5,12 @@ it to be disabled. RP - 4/11/08 -Index: parted-1.9.0/configure.ac +Index: parted-3.2/configure.ac =================================================================== ---- parted-1.9.0.orig/configure.ac 2009-07-23 18:52:08.000000000 +0100 -+++ parted-1.9.0/configure.ac 2010-02-02 14:13:56.013905093 +0000 -@@ -477,7 +477,7 @@ - AM_CONDITIONAL([BUILD_LINUX], [test "$OS" = linux]) +--- parted-3.2.orig/configure.ac ++++ parted-3.2/configure.ac +@@ -555,7 +555,7 @@ AC_CHECK_HEADER([execinfo.h], [ + AM_CONDITIONAL([COMPILE_FOR_S390], [test "$host_cpu" = s390 || test "$host_cpu" = s390x]) dnl check for "check", unit testing library/header -PKG_CHECK_MODULES([CHECK], [check >= 0.9.3], have_check=yes, have_check=no) diff --git a/meta/recipes-extended/parted/files/syscalls.patch b/meta/recipes-extended/parted/files/syscalls.patch index e9bbe9a956d..93205a0a804 100644 --- a/meta/recipes-extended/parted/files/syscalls.patch +++ b/meta/recipes-extended/parted/files/syscalls.patch @@ -4,10 +4,10 @@ Upstream-Status: Pending libparted/arch/linux.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) -Index: parted-1.9.0/libparted/arch/linux.c +Index: parted-3.2/libparted/arch/linux.c =================================================================== ---- parted-1.9.0.orig/libparted/arch/linux.c 2009-07-23 18:52:08.000000000 +0100 -+++ parted-1.9.0/libparted/arch/linux.c 2010-02-02 14:14:16.523904768 +0000 +--- parted-3.2.orig/libparted/arch/linux.c ++++ parted-3.2/libparted/arch/linux.c @@ -17,6 +17,8 @@ #define PROC_DEVICES_BUFSIZ 16384 @@ -16,8 +16,8 @@ Index: parted-1.9.0/libparted/arch/linux.c + #include #include - -@@ -1477,12 +1479,14 @@ + #include +@@ -1696,12 +1698,14 @@ linux_refresh_close (PedDevice* dev) #if SIZEOF_OFF_T < 8 @@ -32,7 +32,7 @@ Index: parted-1.9.0/libparted/arch/linux.c loff_t llseek (unsigned int fd, loff_t offset, unsigned int whence) -@@ -1490,11 +1494,20 @@ +@@ -1709,11 +1713,20 @@ llseek (unsigned int fd, loff_t offset, loff_t result; int retval;