Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 May 2026 14:37:02 +0000
From:      Gleb Popov <arrowd@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: dcb3addbd308 - main - graphics/clang-uml: Fix building with Clang 21
Message-ID:  <6a1c478e.27208.438b72ea@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by arrowd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=dcb3addbd308225eefe70ea1bf240f0ba774b3ee

commit dcb3addbd308225eefe70ea1bf240f0ba774b3ee
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2026-05-31 14:36:36 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2026-05-31 14:36:57 +0000

    graphics/clang-uml: Fix building with Clang 21
    
    Reported by:    pkg-fallout
---
 graphics/clang-uml/files/patch-CMakeLists.txt | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/graphics/clang-uml/files/patch-CMakeLists.txt b/graphics/clang-uml/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..8223e2b19a5e
--- /dev/null
+++ b/graphics/clang-uml/files/patch-CMakeLists.txt
@@ -0,0 +1,16 @@
+https://github.com/bkryza/clang-uml/pull/449
+
+--- CMakeLists.txt.orig	2025-06-29 11:26:26 UTC
++++ CMakeLists.txt
+@@ -123,6 +123,11 @@ if(CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
+                                    -Wno-invalid-constexpr
+                                    -Wno-deprecated-anon-enum-enum-conversion)
+     endif()
++    if(CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 21)
++        set(CUSTOM_COMPILE_OPTIONS ${CUSTOM_COMPILE_OPTIONS}
++            -Wno-preferred-type-bitfield-enum-conversion
++            -Wno-unnecessary-virtual-specifier)
++    endif()
+ endif()
+ 
+ link_directories(${LLVM_LIBRARY_DIR})


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a1c478e.27208.438b72ea>