commit:     b4a4bdb0c8fe2a795c48adab25b001754d289f88
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Sat May  7 21:00:07 2022 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sat May  7 21:03:26 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4a4bdb0

net-im/zoom: Be more noisy when warning about libcef breakage

Bug: https://bugs.gentoo.org/835930
Suggested-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 .../{zoom-5.10.4.2845-r1.ebuild => zoom-5.10.4.2845-r2.ebuild}   | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

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 6a6b21c08daf..ed1876ca6598 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
 }
 

Reply via email to