mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
app-i18n/fcitx: fix compiling with libc++
std::syncstream used in fcitx/fcitx5#1382 is still marked as experimental in libc++. Closes: https://github.com/gentoo/gentoo/pull/44368 Signed-off-by: Daichi Yamamoto <dev@dyama.net> Signed-off-by: Yixun Lan <dlan@gentoo.org>
This commit is contained in:
committed by
Yixun Lan
parent
d949e8981f
commit
821402ed1a
@@ -5,7 +5,7 @@ EAPI=8
|
||||
|
||||
MY_PN="fcitx5"
|
||||
|
||||
inherit cmake unpacker xdg
|
||||
inherit cmake flag-o-matic toolchain-funcs unpacker xdg
|
||||
|
||||
DESCRIPTION="Fcitx 5 is a generic input method framework"
|
||||
HOMEPAGE="https://fcitx-im.org/ https://github.com/fcitx/fcitx5"
|
||||
@@ -75,6 +75,11 @@ BDEPEND="
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
if [[ $(tc-get-cxx-stdlib) == "libc++" ]]; then
|
||||
# std::osyncstream used in fcitx-utils/log.cpp is marked as experimental.
|
||||
append-cxxflags $(test-flags-CXX -fexperimental-library)
|
||||
fi
|
||||
|
||||
local mycmakeargs=(
|
||||
-DENABLE_DBUS=on
|
||||
-DENABLE_XDGAUTOSTART=$(usex autostart)
|
||||
|
||||
Reference in New Issue
Block a user