Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jul 2023 08:36:44 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: 731968ed8bd6 - main - security/kleopatra: Fix build with llvm16
Message-ID:  <202307250836.36P8aiL3054188@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=731968ed8bd62620ec8f1fa9ca1deb5c425e6099

commit 731968ed8bd62620ec8f1fa9ca1deb5c425e6099
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-07-25 08:34:02 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-07-25 08:36:28 +0000

    security/kleopatra: Fix build with llvm16
    
    Sponsored by:   The FreeBSD Foundation
---
 security/kleopatra/Makefile | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/security/kleopatra/Makefile b/security/kleopatra/Makefile
index 86669da6c7ae..4ebb05d88f27 100644
--- a/security/kleopatra/Makefile
+++ b/security/kleopatra/Makefile
@@ -26,4 +26,10 @@ USE_XORG=	x11
 
 OPTIONS_DEFINE=	DOCS
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 160
+CXXFLAGS+=	-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?202307250836.36P8aiL3054188>