commit: 0234266ea48500719ae8e94fe9897b87232ef702
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 1 18:34:02 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Dec 1 18:34:40 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0234266e
net-im/discord-bin: fix glibc[-clone3] dependency
We need to consider two cases:
- stable users (2.33-r7 right now) who do not have the flag and are therefore
fine =>
-clone3(-)
- ~arch users (2.34* right now) who do have the flag and when it doesn't exist
for
older versions of 2.34, it's on => -clone3(+)
Reported-by: Miezhiko
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../{discord-bin-0.0.16-r3.ebuild => discord-bin-0.0.16-r4.ebuild} | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/net-im/discord-bin/discord-bin-0.0.16-r3.ebuild
b/net-im/discord-bin/discord-bin-0.0.16-r4.ebuild
similarity index 94%
rename from net-im/discord-bin/discord-bin-0.0.16-r3.ebuild
rename to net-im/discord-bin/discord-bin-0.0.16-r4.ebuild
index 180003bc792f..48e53417c99b 100644
--- a/net-im/discord-bin/discord-bin-0.0.16-r3.ebuild
+++ b/net-im/discord-bin/discord-bin-0.0.16-r4.ebuild
@@ -19,7 +19,7 @@ KEYWORDS="~amd64"
RESTRICT="mirror bindist"
# libXScrnSaver is used through dlopen (bug #825370)
-# Need to drop -clone3(-) from glibc once Electron is updated
+# Need to drop -clone3(+) from glibc once Electron is updated
# bug #819045, bug #827386
RDEPEND="
app-accessibility/at-spi2-atk:2
@@ -33,7 +33,7 @@ RDEPEND="
media-libs/mesa[gbm(+)]
net-print/cups
sys-apps/dbus
- sys-libs/glibc[-clone3(-)]
+ || ( <sys-libs/glibc-2.34 >=sys-libs/glibc-2.34[-clone3(+)] )
x11-libs/cairo
x11-libs/gdk-pixbuf:2
x11-libs/gtk+:3