Date: Wed, 2 Aug 2023 12:27:43 GMT From: Muhammad Moinur Rahman <bofh@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 3d95151c2eb7 - main - audio/ncmpc: Fix build with llvm16 Message-ID: <202308021227.372CRhsO039052@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=3d95151c2eb7d9f8cb1f149506116b470c43b947 commit 3d95151c2eb7d9f8cb1f149506116b470c43b947 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-08-02 11:49:05 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-08-02 12:27:29 +0000 audio/ncmpc: Fix build with llvm16 Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- audio/ncmpc/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/audio/ncmpc/Makefile b/audio/ncmpc/Makefile index 204fc02b685c..6a525240bb74 100644 --- a/audio/ncmpc/Makefile +++ b/audio/ncmpc/Makefile @@ -46,4 +46,10 @@ NLS_USES= gettext PORTDOCS= * -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 160 +CPPFLAGS+= -Wno-error=enum-constexpr-conversion +.endif + +.include <bsd.port.post.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202308021227.372CRhsO039052>