git: 731968ed8bd6 - main - security/kleopatra: Fix build with llvm16
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 25 Jul 2023 08:36:44 UTC
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>