From nobody Fri Nov 08 16:07:02 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XlP2t6Sh6z5cRp4; Fri, 08 Nov 2024 16:07:02 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XlP2t5w0dz4m7v; Fri, 8 Nov 2024 16:07:02 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1731082022; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Q5TEEdQqKn95GeWoY2Z3hKcHfX5VUOnVy1OtmRYKsgc=; b=Dg5xJk8PES5dOS75tgno0VnmEAghdH/kV9/fgEmh6Kzrs1vPPhbJcq6LjnsRY8BMWiM6b4 ukBhC5tXYXyx5lWiBhGej6LiepLaKU7kUV7HXDL+2xQaK7Jz84Q1tHxHmxYiHCbdVxSSDH 1hTzLoAzwQDAodCave/dSj6gIFdBs5mUF5qmpCRrBx/N/gscu/IjTQBJo0uZ5MYXKmTH2B RKOlSh/Zhecz6MXzzOtwGoiLPmxqEe/sFwYPB+gE6+BMV7wzlbOoLFFnF3Lc+M5blf0wz6 3hHCjfpLDGn2lJRa5yPvdE88m+nIH20CkGN1QKv0CfohXYcXqb5grU0jRwFMxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1731082022; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Q5TEEdQqKn95GeWoY2Z3hKcHfX5VUOnVy1OtmRYKsgc=; b=F5BuXSDlFYAS9XHvfr6LdbDjKBOyy8OR/7sbqPQ6MsGMgIboGBKgFJF4pzfk773bt8S76O +NUrjrh7dmT1ILephi0W65fANFyhjI8+fmXqj/RhpQ4S2yqv1znf8zlmwIltWwqgBIuZaA zcKow2fD9dfqBEYxW7vxvUAAKylVHzr5kt7qhlBYXw64l1DFGZeiPKX/ejrB2zkcdkRK8n kYUVUtcK/+eStbucpIAi1l4Mb3VtlFW9eUWZ9e1PIm49LDBZDMmcj639eij6b0UHcY0jBb HCMwSlag3o7+ZgQC/afyj21NPj/Z6PmNB1U+lFeindSQ9UOiYKlEEdNUuFKspQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1731082022; a=rsa-sha256; cv=none; b=kZF+F0QC8/vs+0BKgJXr0OmQy4WJVB7/PTCLsVFjoe91Ih7l1C5VsCYQbuypdPOUh5/+k3 s2pW3JN5rudUqWkPcgu1ZsVhw9DnkDfvtYeDiUiZcMSeZHHe6wTTIRWOTgqYF6WTHsf8Gf Xm8aWqtFW9vR+f499dCs1nsRYA4b0Q+CbfWQLgBhkNONF8p1Q/nUAqgUvyvjMiu1kqXd/N ypads/55J6aq7/3VItqNnHImSFCzmorlskGrg4dJJMAFp6sY7M+bzIdZt3m7uiz4yEI3LA 5d0AZpZ1VavZ72ZUtaY+a2/x/vxpT/YUNkXDGR2Iy0QnRy97dZUKZahxcX6ppg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4XlP2t5PGMzbns; Fri, 8 Nov 2024 16:07:02 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4A8G72nj093016; Fri, 8 Nov 2024 16:07:02 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4A8G72vZ093013; Fri, 8 Nov 2024 16:07:02 GMT (envelope-from git) Date: Fri, 8 Nov 2024 16:07:02 GMT Message-Id: <202411081607.4A8G72vZ093013@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dmitry Marakasov Subject: git: a4be34bc81a3 - main - devel/protozero: fix build with clang 19 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: amdmi3 X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: a4be34bc81a30016a9a7eb22ae0509fb505775ee Auto-Submitted: auto-generated The branch main has been updated by amdmi3: URL: https://cgit.FreeBSD.org/ports/commit/?id=a4be34bc81a30016a9a7eb22ae0509fb505775ee commit a4be34bc81a30016a9a7eb22ae0509fb505775ee Author: Dmitry Marakasov AuthorDate: 2024-11-08 15:31:50 +0000 Commit: Dmitry Marakasov CommitDate: 2024-11-08 15:34:00 +0000 devel/protozero: fix build with clang 19 PR: 282475 Submitted by: dim --- devel/protozero/files/patch-test_catch_catch.hpp | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/devel/protozero/files/patch-test_catch_catch.hpp b/devel/protozero/files/patch-test_catch_catch.hpp new file mode 100644 index 000000000000..5a58a92c951e --- /dev/null +++ b/devel/protozero/files/patch-test_catch_catch.hpp @@ -0,0 +1,18 @@ +--- test/catch/catch.hpp.orig 2022-01-10 10:02:41 UTC ++++ test/catch/catch.hpp +@@ -175,8 +175,13 @@ namespace Catch { + # define CATCH_INTERNAL_SUPPRESS_UNUSED_WARNINGS \ + _Pragma( "clang diagnostic ignored \"-Wunused-variable\"" ) + +-# define CATCH_INTERNAL_SUPPRESS_ZERO_VARIADIC_WARNINGS \ +- _Pragma( "clang diagnostic ignored \"-Wgnu-zero-variadic-macro-arguments\"" ) ++# if __clang_major__ >= 19 ++# define CATCH_INTERNAL_SUPPRESS_ZERO_VARIADIC_WARNINGS \ ++ _Pragma( "clang diagnostic ignored \"-Wc++20-extensions\"" ) ++# else ++# define CATCH_INTERNAL_SUPPRESS_ZERO_VARIADIC_WARNINGS \ ++ _Pragma( "clang diagnostic ignored \"-Wgnu-zero-variadic-macro-arguments\"" ) ++#endif + + # define CATCH_INTERNAL_SUPPRESS_UNUSED_TEMPLATE_WARNINGS \ + _Pragma( "clang diagnostic ignored \"-Wunused-template\"" )