From nobody Sun May 07 18:39:42 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 4QDtWL6745z49LL9; Sun, 7 May 2023 18:39:42 +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 4QDtWL5jRcz4JYM; Sun, 7 May 2023 18:39:42 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683484782; 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=NuzM1nz9L+ubjL9TJpXfGs+diysOcb2V5Ev9iUPTOMo=; b=qEgK3YXL70LSr/L4ZV7hxBltHwcNCOaoU5vEha5HzVl+Wn7PiB45PUA4wh1qrRQCYzVlfQ 7n8f7ufkzYCNqWpmYXnJY3dMcAOs+jIJjm40KWLq8bUPb7XeN8/olSfRZJNQ3a9nnJFXXl En87WwJkKHz0/8BrTnVIXtny6+RnHI3YZw2ERfkmCpVNtLYVfrey2KE0W2tQyJoRhoS9nS gXgBuYt8BN6TyXe0BlahDBC+DEz/+kSt8SEELjcg5czH0g4RdS6VJ740QjpBafcBYcbd7Z DAgRnME1j9cUppfEFmP3S7hPbVOOsKJhjvCcJ96cvJzzHmeHuGJ8YL3oXKB59g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683484782; 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=NuzM1nz9L+ubjL9TJpXfGs+diysOcb2V5Ev9iUPTOMo=; b=tMb1W/wOYgmyRdSjVBgVGCdObWgvmhxDjGGkhz7vJjW7lnPBa83wgngQtI8D21aPXlz9H4 alstZB0FHpramm0cXXSX216ScIt+A3nBYz462iBF/+4Mp//0lcDStexPOPECvcjUMaZHFd DEiGuAKAjwa4o/cLmnEK4bqubEDGnOtsdczaEoJk0PyZPEgvmsV5eIi3G6Xuk+QJxy/uOo IeNK912Nv/9uHqV5M6fZk1JuP1QC8m7xWDTGWU9Pn8V9ajG9oPAQV8cixczdNml8zJp2hW L9+mWr4Wj+lQ+mvxNAcRiaS6YzHDPpv3Djoq5xKwFCVVCeA1GvpILUmVf2vMwA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1683484782; a=rsa-sha256; cv=none; b=VmH35SZzBun85eixb1YuCwBDjMeBjNuTzqKI84B8XGlPZEvoP93NSeWu7luIFsFTagT234 TWPLzkNh/IUX1xi8pgjBfjwqd3Npyj+gpy749KyWL2siEyHSt0+T+gdanBpnIHNT2r47oj d30BgJMKN97DzIYUR7iXZqSAwZqHgtoqNqvP0VTO8dMg2UWgMsypmn3zDKLtgIeouIXekz chjNu5Ic7B4WdPaaQea4iS6p3pX6/vMnhP5ejtSvkmVXK+E/xBsjJ1Zt9r39tZh0ptxQk0 deGwOXFx4nUNr6wJ6UVQTRlGdcqGifNYiAVBdTAN0kG1r8l4TaHm74zif7hQxw== 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 4QDtWL4pW6zTGP; Sun, 7 May 2023 18:39:42 +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 347IdgUs074768; Sun, 7 May 2023 18:39:42 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 347Idgne074766; Sun, 7 May 2023 18:39:42 GMT (envelope-from git) Date: Sun, 7 May 2023 18:39:42 GMT Message-Id: <202305071839.347Idgne074766@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: 7ecd176f65a5 - main - devel/kyua: 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: 7ecd176f65a556e852635b33bd30843c1ce31bb4 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by dim: URL: https://cgit.FreeBSD.org/ports/commit/?id=7ecd176f65a556e852635b33bd30843c1ce31bb4 commit 7ecd176f65a556e852635b33bd30843c1ce31bb4 Author: Dimitry Andric AuthorDate: 2023-04-24 20:27:12 +0000 Commit: Dimitry Andric CommitDate: 2023-05-07 18:38:48 +0000 devel/kyua: fix build with clang 16 Since clang 16 (and gcc 11) the default C++ standard is now gnu++17. Because devel/kyua's Makefile does not explicitly set its C++ standard, this leads to several errors: In file included from cli/cmd_about.cpp:29: In file included from ./cli/cmd_about.hpp:35: ./cli/common.hpp:71:14: error: no template named 'auto_ptr' in namespace 'std' typedef std::auto_ptr< cli_command > cli_command_ptr; ~~~~~^ In file included from cli/cmd_db_exec.cpp:29: In file included from ./cli/cmd_db_exec.hpp:37: ./cli/common.hpp:71:14: error: no template named 'auto_ptr' in namespace 'std' typedef std::auto_ptr< cli_command > cli_command_ptr; ~~~~~^ In file included from cli/cmd_db_migrate.cpp:29: In file included from ./cli/cmd_db_migrate.hpp:35: ./cli/common.hpp:71:14: error: no template named 'auto_ptr' in namespace 'std' typedef std::auto_ptr< cli_command > cli_command_ptr; ~~~~~^ In file included from cli/cmd_config.cpp:29: In file included from ./cli/cmd_config.hpp:35: ./cli/common.hpp:71:14: error: no template named 'auto_ptr' in namespace 'std' typedef std::auto_ptr< cli_command > cli_command_ptr; ~~~~~^ Add USE_CXXSTD=gnu++98 to avoid these errors. PR: 271054 Approved by: maintainer timeout (2 weeks) MFH: 2023Q2 --- devel/kyua/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/devel/kyua/Makefile b/devel/kyua/Makefile index 1c3ebd4a8895..bab190f32c06 100644 --- a/devel/kyua/Makefile +++ b/devel/kyua/Makefile @@ -1,6 +1,6 @@ PORTNAME= kyua PORTVERSION= 0.13 -PORTREVISION= 5 +PORTREVISION= 6 PORTEPOCH= 3 CATEGORIES= devel MASTER_SITES= https://github.com/jmmv/kyua/releases/download/${PORTNAME}-${PORTVERSION}/ \ @@ -15,6 +15,7 @@ LICENSE= BSD3CLAUSE LIB_DEPENDS= liblutok.so:devel/lutok USES= lua pkgconfig sqlite +USE_CXXSTD= gnu++11 GNU_CONFIGURE= yes CONFIGURE_ARGS= --docdir=${DOCSDIR} \