From nobody Sun May 07 18:39:40 2023 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 4QDtWJ4TQTz49LHj; Sun, 7 May 2023 18:39:40 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QDtWJ43dgz4JBw; Sun, 7 May 2023 18:39:40 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683484780; 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=OzZ2IzO3WYnJCoBtKw+cQYRm1SJmsSKwpDQ1kFlzddU=; b=qvcDj1cdFXRzi1b3xSwCgArTsiiE9IQtrj+ZW3wFc1eS1EKQazVjwDWxJUQfw0VfGDBnJj objs0/Gx0AS5XgvFImkQo0xj3THvobsNrAHGocaSEWMmoQnkUPVA1mffId8exiWIpSt7OP CFoUZnUJbhxhj3g4cidh9pfNTGT2jjrCXahBZv1EyPbvz3H2tUPRYItFdRlc+PHRBu2yuU xX6weyCJ9h3AJGp6vhxb/S+CPR0MDZccxHRPA+lgdtCy9mGRb+sXCZo6aDq+cQW6pRL4SD cnVJdQBrtzNe4QIAlGjqJpSuk24xUNXEOnlnbgmHC4JVkSLxpJ2lT/00T0NPNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683484780; 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=OzZ2IzO3WYnJCoBtKw+cQYRm1SJmsSKwpDQ1kFlzddU=; b=ec8l547YG/NemCtL40/hfisSQasacOppeQz8OxOHotyS8ZfkQu8VOe9Q8LOk7RcBHoljhu zCqjYinb7vPtxzeQiJf2fsOnmeqjG4hMcnfQdVvM7SCSL1s6svXcYcat2j18MR7w0eDtkX rc4wMDnZHftlCgsmqd9g8xGnrTqz2duzcipBccfU7mVFvzLJ1mW4upfQr9U+JCO22tESiU yWV08z4i7jN2QjA4JNXYLyABFpFp7ULSRYy4ZMCZ5vCOfmKqnBv/BcKsig7r3HGvDa/uYc SiETWSspK30kbVouSXJjNqht/+7VaqB76FkM1HVi1ACZsxZ064me7vyzDMNdvQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1683484780; a=rsa-sha256; cv=none; b=tguClo234+xBQ0SKjiXu1U5wdvDWDiZS8wWdHhM0RreYw/Ktp2vuICwoDF63Z+4YJt2hGj Bv1Ja25gOv/f0Y4b8lXXh1FN1/FOeKxE5clBT0zYSwZNJ3IlFEQZM2MStXx0ufsT6WhZQv eaZMsBFtxcN00sSIzN+/xCSy4TMsxx0gY+865C4Ezu0oFc9dYGQGwSc/wvQfI+wq9qaC1T 1eNzfqR1CWdtk5uCwjFmyQjIfP1EeuGAFzEzRn6RagdvVqiOlgxMC1CPvHLRPwVTtxlaks RzMGJon2C7kFKnhaf8rPbY4B1AogpWuDIHUktvId7iO8znUlmwSPYbDRMcTdlw== 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 4QDtWJ2sKnzTlp; Sun, 7 May 2023 18:39:40 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 347IderO074717; Sun, 7 May 2023 18:39:40 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 347Ideio074716; Sun, 7 May 2023 18:39:40 GMT (envelope-from git) Date: Sun, 7 May 2023 18:39:40 GMT Message-Id: <202305071839.347Ideio074716@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dimitry Andric Subject: git: b7ba1dd95f24 - main - devel/atf: fix build with clang 16 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: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dim X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: b7ba1dd95f249f56f10501da5235f3f21f54e9ad Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by dim: URL: https://cgit.FreeBSD.org/ports/commit/?id=b7ba1dd95f249f56f10501da5235f3f21f54e9ad commit b7ba1dd95f249f56f10501da5235f3f21f54e9ad Author: Dimitry Andric AuthorDate: 2023-04-24 20:15:38 +0000 Commit: Dimitry Andric CommitDate: 2023-05-07 18:38:47 +0000 devel/atf: fix build with clang 16 Since clang 16 (and gcc 11) the default C++ standard is now gnu++17. Because devel/atf's Makefile does not explicitly set its C++ standard, this leads to several errors: In file included from atf-c++/check.cpp:26: ./atf-c++/check.hpp:74:17: error: no template named 'auto_ptr' in namespace 'std' friend std::auto_ptr< check_result > exec(const atf::process::argv_array&); ~~~~~^ ./atf-c++/check.hpp:123:6: error: no template named 'auto_ptr' in namespace 'std' std::auto_ptr< check_result > exec(const atf::process::argv_array&); ~~~~^ In file included from atf-c++/tests.cpp:26: ./atf-c++/tests.hpp:76:10: error: no template named 'auto_ptr' in namespace 'std' std::auto_ptr< tc_impl > pimpl; ~~~~~^ atf-c++/check.cpp:144:6: error: no template named 'auto_ptr' in namespace 'std' std::auto_ptr< impl::check_result > ~~~~^ atf-c++/check.cpp:153:17: error: no member named 'auto_ptr' in namespace 'std' return std::auto_ptr< impl::check_result >(new impl::check_result(&result)); ~~~~~^ atf-c++/check.cpp:153:46: error: expected '(' for function-style cast or type construction return std::auto_ptr< impl::check_result >(new impl::check_result(&result)); ~~~~~~~~~~~~~~~~~~ ^ Add USE_CXXSTD=gnu++98 to avoid these errors. While here, pet portlint. PR: 271051 Approved by: maintainer timeout (2 weeks) MFH: 2023Q2 --- devel/atf/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/devel/atf/Makefile b/devel/atf/Makefile index 7480d80e2f34..d1491c4528d8 100644 --- a/devel/atf/Makefile +++ b/devel/atf/Makefile @@ -1,5 +1,6 @@ PORTNAME= atf PORTVERSION= 0.21 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= https://github.com/jmmv/${PORTNAME}/releases/download/${PORTNAME}-${PORTVERSION}/ \ LOCAL/jmmv @@ -12,8 +13,9 @@ LICENSE= BSD3CLAUSE GNU_CONFIGURE= yes INSTALL_TARGET= install-strip -USE_LDCONFIG= yes USES= libtool +USE_CXXSTD= gnu++11 +USE_LDCONFIG= yes OPTIONS_DEFINE= DOCS TEST OPTIONS_DEFAULT=TEST