From patchwork Fri Mar 9 18:56:05 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kanavin X-Patchwork-Id: 131236 Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp1344939lja; Fri, 9 Mar 2018 11:06:19 -0800 (PST) X-Google-Smtp-Source: AG47ELuQWwwgEEUFJ7m3vwfZ9Dsd8+J+xM1dWso/e8UEFrPdyaeae3UPzdQxagUCRmtr5szhxzV/ X-Received: by 2002:a17:902:538f:: with SMTP id c15-v6mr27891623pli.90.1520622379162; Fri, 09 Mar 2018 11:06:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520622379; cv=none; d=google.com; s=arc-20160816; b=nJNp4KZEp5m/+DcVGcXdoMarDMYh5hobezD29n1T7hPWkYKKsXtoRIcvquSJdpAIDU z+2r3NvM8SxBhYqdAmYlE2bbWIlOI28QttIG7Msr2B3wCYw+rU7jKGnZa4JSAWWXcyRA fSAuikix1ZoS6jUw9JcPGA28qAVSa4tG7h7Q2FRhsh3+XZ7NCbyBwxRl26qienKSRaNf gsx4aRsPWqFWB1ooy6UcHF5gHFJ0MLnl9SAN33CX/wSWIQN+kclJ+C4An4pZ0VVpBnp5 9hIWCf4zSeM3TFcXwvWt/KNP8t5C91XjrElDkyOzm9eWM4utj91Ag8gHztv4zKlKeeGx BtLQ== 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=o9JeNJ9KtVy96L2117MkwUNxWL0JcWB4IBnvZU2juoQ=; b=vJtVnsdBylIxXQi438IVAyhHukr+08dhIbVxOBEtMq8eM/gt0ERpsyrPw+szKisH8H AbLtLQ/5XRojI8kdRjtNGLRA+FhGZKtL4Afr6ckwP6e2kxHNWu+XReXXoIbQfiupqT2u rvQytaTZgZYXIqrmnZu/68DZIMWLproxCYxde/vu8KsXTqaUDAEXG0t5s/0RUuZaKltg aY6L+NZUTh2rvYqIVzKvRkBwV087ml1ZQpl1nHlUm/suwtgykSJsxki9SgmznNZFTpRk 053ExWmF0kV20bs8+4NrnibVTcuUdA6E5ulDkHcW7ECYHWb5bSUfJ85kf5Tqe3e8/S9u Cmdg== 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 w9si1088080pgq.815.2018.03.09.11.06.18; Fri, 09 Mar 2018 11:06:19 -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 314B6789ED; Fri, 9 Mar 2018 19:03:42 +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 5316A78993 for ; Fri, 9 Mar 2018 19:03:30 +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:03:32 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.47,446,1515484800"; d="scan'208";a="32652038" Received: from kanavin-desktop.fi.intel.com ([10.237.68.161]) by FMSMGA003.fm.intel.com with ESMTP; 09 Mar 2018 11:03:30 -0800 From: Alexander Kanavin To: openembedded-core@lists.openembedded.org Date: Fri, 9 Mar 2018 20:56:05 +0200 Message-Id: <20180309185614.31113-27-alexander.kanavin@linux.intel.com> X-Mailer: git-send-email 2.16.1 In-Reply-To: <20180309185614.31113-1-alexander.kanavin@linux.intel.com> References: <20180309185614.31113-1-alexander.kanavin@linux.intel.com> Subject: [OE-core] [PATCH 27/36] drm: 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 --- ...ac-Allow-explicit-enabling-of-cunit-tests.patch | 25 ++++++++++------------ 1 file changed, 11 insertions(+), 14 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-graphics/drm/libdrm/0001-configure.ac-Allow-explicit-enabling-of-cunit-tests.patch b/meta/recipes-graphics/drm/libdrm/0001-configure.ac-Allow-explicit-enabling-of-cunit-tests.patch index bf526370b0c..40bebc0f50c 100644 --- a/meta/recipes-graphics/drm/libdrm/0001-configure.ac-Allow-explicit-enabling-of-cunit-tests.patch +++ b/meta/recipes-graphics/drm/libdrm/0001-configure.ac-Allow-explicit-enabling-of-cunit-tests.patch @@ -12,11 +12,11 @@ Upstream-Status: Submitted [mailing list] configure.ac | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) -diff --git a/configure.ac b/configure.ac -index e3048c7..918d21d 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -137,6 +137,12 @@ AC_ARG_ENABLE(install-test-programs, +Index: libdrm-2.4.91/configure.ac +=================================================================== +--- libdrm-2.4.91.orig/configure.ac ++++ libdrm-2.4.91/configure.ac +@@ -163,6 +163,12 @@ AC_ARG_ENABLE(install-test-programs, [Install test programs (default: no)]), [INSTALL_TESTS=$enableval], [INSTALL_TESTS=no]) @@ -29,8 +29,8 @@ index e3048c7..918d21d 100644 dnl =========================================================================== dnl check compiler flags AC_DEFUN([LIBDRM_CC_TRY_FLAG], [ -@@ -372,7 +378,7 @@ if test "x$RADEON" = xyes; then - AC_DEFINE(HAVE_RADEON, 1, [Have radeon support]) +@@ -411,7 +417,7 @@ else + AC_DEFINE(HAVE_RADEON, 0) fi -if test "x$AMDGPU" != xno; then @@ -38,8 +38,8 @@ index e3048c7..918d21d 100644 # Detect cunit library PKG_CHECK_MODULES([CUNIT], [cunit >= 2.1], [have_cunit=yes], [have_cunit=no]) # If pkg-config does not find cunit, check it using AC_CHECK_LIB. We -@@ -399,7 +406,11 @@ if test "x$AMDGPU" = xyes; then - AC_DEFINE(HAVE_CUNIT, [test "x$have_cunit" != "xno"], [Enable CUNIT Have amdgpu support]) +@@ -436,7 +442,11 @@ if test "x$AMDGPU" = xyes; then + AC_DEFINE(HAVE_AMDGPU, 1, [Have amdgpu support]) if test "x$have_cunit" = "xno"; then - AC_MSG_WARN([Could not find cunit library. Disabling amdgpu tests]) @@ -49,8 +49,5 @@ index e3048c7..918d21d 100644 + AC_MSG_WARN([Could not find cunit library. Disabling amdgpu tests]) + fi fi - fi - --- -2.1.4 - + else + AC_DEFINE(HAVE_AMDGPU, 0)