commit: d8c4b8acd36d41b55b0cebd2ce4091459c504c01
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 18 09:46:24 2025 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Wed Jun 18 09:51:01 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8c4b8ac
media-gfx/ueberzugpp: update libc++ jthread check
Happened to see that libksysguard has a similar check that limits
it to <20, so may as well sync this here.
It'll help clarify when can remove this too, not that old
clang/libcxx is going anywhere anytime soon.
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
media-gfx/ueberzugpp/ueberzugpp-2.9.7.ebuild | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/media-gfx/ueberzugpp/ueberzugpp-2.9.7.ebuild
b/media-gfx/ueberzugpp/ueberzugpp-2.9.7.ebuild
index 8e6d9ba71c71..ed50b51c0b2c 100644
--- a/media-gfx/ueberzugpp/ueberzugpp-2.9.7.ebuild
+++ b/media-gfx/ueberzugpp/ueberzugpp-2.9.7.ebuild
@@ -54,9 +54,11 @@ BDEPEND="
"
src_configure() {
- if use X && [[ $(tc-get-cxx-stdlib) == libc++ ]]; then
- # X support makes use of C++20's std::jthread which is currently
- # marked experimental (at least) in <=libcxx-18
+ if use X && tc-is-clang &&
+ [[ $(tc-get-cxx-stdlib) == libc++ && $(clang-major-version) -lt
20 ]]
+ then
+ # X support makes use of C++20's std::jthread which works but
+ # is currently marked experimental in <libcxx-20
append-cxxflags $(test-flags-CXX -fexperimental-library)
fi