From b4a4bdb0c8fe2a795c48adab25b001754d289f88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ulrich=20M=C3=BCller?= Date: Sat, 7 May 2022 23:00:07 +0200 Subject: [PATCH] net-im/zoom: Be more noisy when warning about libcef breakage MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bug: https://bugs.gentoo.org/835930 Suggested-by: Andreas K. Hüttel Signed-off-by: Ulrich Müller --- ...-5.10.4.2845-r1.ebuild => zoom-5.10.4.2845-r2.ebuild} | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) rename net-im/zoom/{zoom-5.10.4.2845-r1.ebuild => zoom-5.10.4.2845-r2.ebuild} (95%) diff --git a/net-im/zoom/zoom-5.10.4.2845-r1.ebuild b/net-im/zoom/zoom-5.10.4.2845-r2.ebuild similarity index 95% rename from net-im/zoom/zoom-5.10.4.2845-r1.ebuild rename to net-im/zoom/zoom-5.10.4.2845-r2.ebuild index 6a6b21c08daff..ed1876ca65988 100644 --- a/net-im/zoom/zoom-5.10.4.2845-r1.ebuild +++ b/net-im/zoom/zoom-5.10.4.2845-r2.ebuild @@ -170,9 +170,12 @@ src_install() { && DOC_CONTENTS+="\\n\\nTo enable screen sharing on GNOME Wayland, edit ~/.config/zoomus.conf and change the value of enableWaylandShare to true." - has_version ">=sys-libs/glibc-2.34[clone3(+)]" \ - && DOC_CONTENTS+="\\n\\nIf you encounter illegal instruction errors, - try disabling the clone3 use flag of sys-libs/glibc." + if has_version ">=sys-libs/glibc-2.34[clone3(+)]"; then + local w warn=( "If you encounter illegal instruction errors with zoom," + "try disabling the clone3 use flag of sys-libs/glibc." ) + DOC_CONTENTS+="\\n\\n${warn[*]}" + for w in "${warn[@]}"; do ewarn "${w}"; done + fi readme.gentoo_create_doc }