From 859ab5fdd97be9e1bacb93bf1a1816a7e7977b33 Mon Sep 17 00:00:00 2001 From: Jory Pratt Date: Tue, 8 Sep 2020 12:51:55 -0500 Subject: [PATCH] net-libs/gtk-vnc: Fix musl build Closes: https://bugs.gentoo.org/737266 Package-Manager: Portage-3.0.6, Repoman-3.0.1 Signed-off-by: Jory Pratt --- net-libs/gtk-vnc/gtk-vnc-1.0.0.ebuild | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/net-libs/gtk-vnc/gtk-vnc-1.0.0.ebuild b/net-libs/gtk-vnc/gtk-vnc-1.0.0.ebuild index 1a095124653..20cea2204f6 100644 --- a/net-libs/gtk-vnc/gtk-vnc-1.0.0.ebuild +++ b/net-libs/gtk-vnc/gtk-vnc-1.0.0.ebuild @@ -60,8 +60,14 @@ src_configure() { $(meson_feature pulseaudio) $(meson_feature sasl) -Denable-werror=false - -Dwith-coroutine=auto # gthread on windows, libc ucontext elsewhere; neither has extra deps $(meson_use vala with-vala) ) + + if use elibc_musl; then + emesonargs+=( -Dwith-coroutine=gthread ) + else + emesonargs+=( -Dwith-coroutine=auto ) + fi + meson_src_configure } -- 2.28.0