From nobody Fri Jun 30 00:53:49 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 4QscJY33ndz4jsPG; Fri, 30 Jun 2023 00:53:49 +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 4QscJY1zMtz3mN8; Fri, 30 Jun 2023 00:53:49 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688086429; 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=SGVlaECK1A6vIGMZ9bMLvFGe1EvU27JXUe1ZVvbg9uI=; b=UcLQ9nIOPxc+9hJgRiBD48RDj+ho5b32D/N1tyJZBD9Veme+oQoJM+tRf5hJFtoVTb3ZTb gH6KrfSmRoX7c+djVw7wCcc6knT2syx9qHbzffTD+kSD5CmCtcxEQZ1ZR+OS5d66V8obLX iQGchEWQNDtMN28XkPXDz8FFL5fWzMhNn/GYR6pgiGswJZ05xSXom5PEf+aJ1GyGkzsM4D zO/e2ZhHLjuTCrLuKY7QGQmaSV1MH/TNL0vJqM0pdfUJ+Nt3aNZV360LfELPKxuF36o+OC T8CarubS7ubiQJTS1naAiwcf2WOPMG+7A1qMg1OpR9udrY+xsvhjJraS7Mohlg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688086429; 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=SGVlaECK1A6vIGMZ9bMLvFGe1EvU27JXUe1ZVvbg9uI=; b=tgNQnJEqcUyQ4rqQq2vMBKUgAsd+3fpGA0WbByw9SPD/e0RfdyX4S3lusNZttWlVbhNNR9 8Ct0G0PvVC1clYQQKn/p4MeTldGCo895PibPPHi1peBVgDtkQnITA03XSijvC/I5zb7lpl wg4YtMm2QTArv8kh+llMNTyGKdwlx6TsIJiPZ70gqkF7PO+T7qxQLNBC1KREN61gMmhNke E/Ge+pOYNMrTxj+8JEVDx1oUEusIGdmz4dxRhAHGu2obTUvJ7nmTSD7HDcBDUaKzbfnQsj g0IE0ip/FimcCgo+kl/4dUrahfg4If6YWRKWJ3XHehXrlTYqNE7uLxdA7D3Dzw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1688086429; a=rsa-sha256; cv=none; b=t1abFi155aq4Od6HAVkhMWZyDTicN04uQ1RW/Oh9G8TcHjGx2hOqaoH7xcVLtd580O5qZg ku8Ne5K+xXfKd909E30XmJe5IJPCI67X5PvDzrkUmrzLv5l6Mslt/ct2GL+zDoGZG2Qoi3 ABxj0DztgtHsQX1U9XJD7+rbWaleWYFmKTlQQ7JCb4RTRzC7QY5gkli+qW/Cs/DHZIae7E CswDgRg1b7IJT7LVXkNZacwVtT3anFdFDgfZowanoR69iBYaNIl0jnAmK5m5Zr/RjpiEG1 B6wLl6rr+FqXmxTb3ZzzoMb2dYY2F5jx7Tmma3O1XMqYmhMvhDiAxU2c+jySKQ== 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 4QscJY13TjzfC0; Fri, 30 Jun 2023 00:53:49 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 35U0rnM2029184; Fri, 30 Jun 2023 00:53:49 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 35U0rniL029183; Fri, 30 Jun 2023 00:53:49 GMT (envelope-from git) Date: Fri, 30 Jun 2023 00:53:49 GMT Message-Id: <202306300053.35U0rniL029183@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Muhammad Moinur Rahman Subject: git: 4e8188fdccdf - main - devel/ucommon: Fix build with llvm16 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: bofh X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 4e8188fdccdfea82c790727d5de82d9914d43971 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=4e8188fdccdfea82c790727d5de82d9914d43971 commit 4e8188fdccdfea82c790727d5de82d9914d43971 Author: Muhammad Moinur Rahman AuthorDate: 2023-06-29 23:53:33 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-06-30 00:52:07 +0000 devel/ucommon: Fix build with llvm16 Sponsored by: The FreeBSD Foundation --- devel/ucommon/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/devel/ucommon/Makefile b/devel/ucommon/Makefile index d3ef1b5e554b..b86b69db4292 100644 --- a/devel/ucommon/Makefile +++ b/devel/ucommon/Makefile @@ -17,7 +17,13 @@ CMAKE_ARGS= -DBUILD_TESTING:BOOL=ON \ USE_LDCONFIG= yes TEST_TARGET= test +.include + +.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 160 +USE_CXXSTD= c++11 +.endif + post-install: ${INSTALL_DATA} ${BUILD_WRKSRC}/ucommon-config.h ${STAGEDIR}${PREFIX}/include/ucommon -.include +.include