Date: Tue, 24 Mar 2026 11:53:19 +0000 From: Dimitry Andric <dim@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 441cd2b7a4f5 - main - deskutils/kdepim-runtime: fix build with clang 21 Message-ID: <69c27b2f.3c2b9.22f934cd@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by dim: URL: https://cgit.FreeBSD.org/ports/commit/?id=441cd2b7a4f5b81f25ac9109b30c646265e7f7fb commit 441cd2b7a4f5b81f25ac9109b30c646265e7f7fb Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2026-03-21 16:28:26 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2026-03-24 11:52:33 +0000 deskutils/kdepim-runtime: fix build with clang 21 With clang 21 deskutils/kdepim-runtime fails to build, with errors similar to: ld: error: undefined symbol: KPIM::Maildir::Maildir(QString const&, bool) >>> referenced by configwidget.cpp >>> CMakeFiles/mixedmaildirconfig.dir/configwidget.cpp.o:(ConfigWidget::checkPath()) >>> referenced by configwidget.cpp >>> CMakeFiles/mixedmaildirconfig.dir/configwidget.cpp.o:(ConfigWidget::checkPath()) ld: error: undefined symbol: KPIM::Maildir::isValid(bool) const >>> referenced by configwidget.cpp >>> CMakeFiles/mixedmaildirconfig.dir/configwidget.cpp.o:(ConfigWidget::checkPath()) >>> referenced by configwidget.cpp >>> CMakeFiles/mixedmaildirconfig.dir/configwidget.cpp.o:(ConfigWidget::checkPath()) This is because various CMake configure checks fail, due to the port Makefile adding -Wno-error=enum-constexpr-conversion, which is no longer supported by clang >= 21. PR: 293955 Approved by: makc (maintainer) MFH: 2026Q1 --- deskutils/kdepim-runtime/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deskutils/kdepim-runtime/Makefile b/deskutils/kdepim-runtime/Makefile index b02fcf6a3f63..d9d73a4892e2 100644 --- a/deskutils/kdepim-runtime/Makefile +++ b/deskutils/kdepim-runtime/Makefile @@ -41,7 +41,7 @@ OPTIONS_DEFINE= DOCS .include <bsd.port.pre.mk> -.if ${CHOSEN_COMPILER_TYPE} == clang +.if ${CHOSEN_COMPILER_TYPE} == clang && ${COMPILER_VERSION} < 211 CXXFLAGS+= -Wno-error=enum-constexpr-conversion .endifhome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69c27b2f.3c2b9.22f934cd>
