commit:     830c859345812704f6366d4749ad12f1184511f8
Author:     Jory Pratt <anarchy <AT> gentoo <DOT> org>
AuthorDate: Tue Sep  8 17:51:55 2020 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Wed Apr 28 04:19:57 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=830c8593

net-libs/gtk-vnc: Fix musl build

Closes: https://bugs.gentoo.org/737266
Signed-off-by: Jory Pratt <anarchy <AT> gentoo.org>
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 net-libs/gtk-vnc/gtk-vnc-1.2.0.ebuild | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/net-libs/gtk-vnc/gtk-vnc-1.2.0.ebuild 
b/net-libs/gtk-vnc/gtk-vnc-1.2.0.ebuild
index 5cd29c52ea6..f5587f996c2 100644
--- a/net-libs/gtk-vnc/gtk-vnc-1.2.0.ebuild
+++ b/net-libs/gtk-vnc/gtk-vnc-1.2.0.ebuild
@@ -54,8 +54,14 @@ src_configure() {
                $(meson_feature introspection)
                $(meson_feature pulseaudio)
                $(meson_feature sasl)
-               -Dwith-coroutine=auto # gthread on windows, libc ucontext 
elsewhere; neither has extra deps
                $(meson_feature vala with-vala)
        )
+
+       if use elibc_musl; then
+               emesonargs+=( -Dwith-coroutine=gthread )
+       else
+               emesonargs+=( -Dwith-coroutine=auto )
+       fi
+
        meson_src_configure
 }

Reply via email to