From patchwork Wed Feb 13 17:31:16 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 158241 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp329384jaa; Wed, 13 Feb 2019 09:31:58 -0800 (PST) X-Google-Smtp-Source: AHgI3IaXrhk17s5j8gRvjFJEwgfsgF6zjh0s90b1jJk0jlh3wCCB7+NXjhX63i5QO9Fc1+Y7MnMb X-Received: by 2002:a17:902:282a:: with SMTP id e39mr1643963plb.26.1550079118743; Wed, 13 Feb 2019 09:31:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550079118; cv=none; d=google.com; s=arc-20160816; b=EAJmdhbNWbvyUF49+63F7Yx3onw4DzuChnvXkU5tcqvvf044KdtH930sMu88SRcFwj Rc7+NbHCLfh9M9MED2Kj/mpEvM7KnRXKMR4vV639XMjAqY6GXE1sPAqnRowCJoGE4HJL 4GOXogEEGOrkUzIoz8CfIx9BxnQGUsol5uNPTtdXYToXLOEuDIUXlwNgPZ09PVtYRi1E pJcaSJP6XSnp2exDLmiWagIF+IonvtypiskVWEGF007ur6V2nMAnjFsNG02nDxU6wrsB oZiQBuh8jDfJYZNzvlxc6sHW0jy8coDu5bOzEVzTyxp5PjgjHaEMacW6qGNXYdbXb0EB 3epQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:delivered-to; bh=REk3aVPzlYYnR/BPSSZwNHxIhB7QtSvS4uoRCZbO4Y0=; b=DqnECggv3KGyXPbgBi8sreHhuGFPmpuJPhlwBaAJKnviA4x/+YfWEdqftGBflAm7IB Ehn8e0hHvX6hAeNQV2emq55YDuEDNJvMiaoRqfH9yd4Kmgl0pttm7xSya1hcxymaKjvs e6qJsIRsJUlN+OtHE/9dFO4Ln0MyiFqFHXqF93Jkzx6/GJjB6dRZV6wiH555LNjB0FI+ XZFyew1iFK/OVVijtb+3UuEWhIEEiZARgePG0XN0+5kZmLdtHvj8i0V/XT6mQu4ow6LU mqOZgXQjHPSYm631gVUmWGhC2pxZYck0Pi8VjBsfynu0ycGUXXPUKslCLzQfycnQjTya //0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=Ocaki3Or; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id v9si9185157pgj.182.2019.02.13.09.31.58; Wed, 13 Feb 2019 09:31:58 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=Ocaki3Or; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from ec2-34-214-78-129.us-west-2.compute.amazonaws.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 3A1F97C4A6; Wed, 13 Feb 2019 17:31:44 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pl1-f180.google.com (mail-pl1-f180.google.com [209.85.214.180]) by mail.openembedded.org (Postfix) with ESMTP id 88C756BCA9 for ; Wed, 13 Feb 2019 17:31:27 +0000 (UTC) Received: by mail-pl1-f180.google.com with SMTP id w4so1501399plz.1 for ; Wed, 13 Feb 2019 09:31:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=9HD+zDbmnGYMzprkSE/Hn6VO1KHREY5RSjb2dePQO6U=; b=Ocaki3Or2nSA4PIMqoObnvn6wTBLt8CmeAMFJDxstlrbwls6w/4cbusVDtGmZaTmcz vMafqwCe7ajiMHVsZ5jpuDhmGpCifyifhH47BYxv1X6clqoMnXNHCS1OCgDKacQMYRKg LdwjnGa2xcJ95nnbFSFZS34XY4mWCjJ7n2G461MBhsR5i/9Ah1pLsWQToQW/S0dqGjJQ h2KEb6dRuGqy778nlMQVqGIbEsq0o/CcXAmAUadVk+/Ut6aFvPV2MIRv0KHwjhWM8vai d1pdVy16UifRu8odEW7qOgrZHcyO2NlUjwAw/4SZOMTNv51C3LnMYvGUroM00oEsaNA3 FMWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=9HD+zDbmnGYMzprkSE/Hn6VO1KHREY5RSjb2dePQO6U=; b=kBDp+cLORcu5Q0Wi2/l6QsXh+4UUn01WqEetb+43HObcghvU/29yk8HZSCABXdVa+d GlCJ4r/b6b7VOyofSeQucgP2SXGajQRbI91sM9SQscME0PtSHbYc311dfoeFl0U9y+FK bT9SgTPPDjFps/Vb/URXmWtuMwt9qWyqv7QFlvcRPEXGfe0+ubXYiIGOVSOhEeKd/B2j P81Wz108/JZF3w2Fymfash+eZpi3IOKqqbIcMAUpYCsyiIF/4REGksg+PHNNWMRlBymh VAwk8d2UnnhaOZPvaXkngWl6svUkbGSIxCiktJMEjpTWKPqtEpKWj+E7PqrGKa5sAEDx 9SlA== X-Gm-Message-State: AHQUAuZpaaCWJSQKqMVt25wq4jfdKY1WoBHskx31KYcayPG/re+efg3w CsvaIMOOdQ4KtjZ9eAlXdv2vzUxb X-Received: by 2002:a17:902:bc88:: with SMTP id bb8mr1648292plb.12.1550079088263; Wed, 13 Feb 2019 09:31:28 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:8500:6bc6::dc44]) by smtp.gmail.com with ESMTPSA id h15sm21528945pgl.43.2019.02.13.09.31.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 13 Feb 2019 09:31:27 -0800 (PST) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Wed, 13 Feb 2019 09:31:16 -0800 Message-Id: <20190213173118.44597-4-raj.khem@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190213173118.44597-1-raj.khem@gmail.com> References: <20190213173118.44597-1-raj.khem@gmail.com> MIME-Version: 1.0 Subject: [oe] [meta-oe][PATCH 4/6] catch2: Upgrade to 2.6.1 X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org Fix build with clang Signed-off-by: Khem Raj --- .../{catch2_2.6.0.bb => catch2_2.6.1.bb} | 5 +-- ...-Wdefaulted-function-deleted-warning.patch | 35 +++++++++++++++++++ 2 files changed, 38 insertions(+), 2 deletions(-) rename meta-oe/recipes-test/catch2/{catch2_2.6.0.bb => catch2_2.6.1.bb} (83%) create mode 100644 meta-oe/recipes-test/catch2/files/0001-Fix-Wdefaulted-function-deleted-warning.patch -- 2.20.1 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-test/catch2/catch2_2.6.0.bb b/meta-oe/recipes-test/catch2/catch2_2.6.1.bb similarity index 83% rename from meta-oe/recipes-test/catch2/catch2_2.6.0.bb rename to meta-oe/recipes-test/catch2/catch2_2.6.1.bb index 13beb9e8b5..08d6616401 100644 --- a/meta-oe/recipes-test/catch2/catch2_2.6.0.bb +++ b/meta-oe/recipes-test/catch2/catch2_2.6.1.bb @@ -6,9 +6,10 @@ LICENSE = "BSL-1.0" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e4224ccaecb14d942c71d31bef20d78c" SRC_URI = "git://github.com/catchorg/Catch2.git \ + file://0001-Fix-Wdefaulted-function-deleted-warning.patch \ " -# v2.6.0 -SRCREV = "d75e9b3c0f24fe42553131873459611ed155e297" +# v2.6.1 +SRCREV = "dbbab8727c342733f75045483048cdcb52421e32" S = "${WORKDIR}/git" diff --git a/meta-oe/recipes-test/catch2/files/0001-Fix-Wdefaulted-function-deleted-warning.patch b/meta-oe/recipes-test/catch2/files/0001-Fix-Wdefaulted-function-deleted-warning.patch new file mode 100644 index 0000000000..555c71ad22 --- /dev/null +++ b/meta-oe/recipes-test/catch2/files/0001-Fix-Wdefaulted-function-deleted-warning.patch @@ -0,0 +1,35 @@ +From a39e0eaa8318335260967ffd1d16388eb5a1d6d8 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Tue, 12 Feb 2019 12:57:00 -0800 +Subject: [PATCH] Fix -Wdefaulted-function-deleted warning + +Clang8 warns + +catch_interfaces_reporter.h:84:25: error: explicitly defaulted move assignment operator is implicitly deleted [-Werror,-Wdefaulted-function-deleted] +| AssertionStats& operator = ( AssertionStats && ) = default; +| ^ + +Upstream-Status: Submitted [https://github.com/catchorg/Catch2/pull/1537] +Signed-off-by: Khem Raj +--- + include/internal/catch_interfaces_reporter.h | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/include/internal/catch_interfaces_reporter.h b/include/internal/catch_interfaces_reporter.h +index 9d99c981..e5fbf8bb 100644 +--- a/include/internal/catch_interfaces_reporter.h ++++ b/include/internal/catch_interfaces_reporter.h +@@ -80,8 +80,8 @@ namespace Catch { + + AssertionStats( AssertionStats const& ) = default; + AssertionStats( AssertionStats && ) = default; +- AssertionStats& operator = ( AssertionStats const& ) = default; +- AssertionStats& operator = ( AssertionStats && ) = default; ++ AssertionStats& operator = ( AssertionStats const& ) = delete; ++ AssertionStats& operator = ( AssertionStats && ) = delete; + virtual ~AssertionStats(); + + AssertionResult assertionResult; +-- +2.20.1 +