Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-im/discord-bin/
Date: Wed, 01 Dec 2021 18:34:59
Message-Id: 1638383680.0234266ea48500719ae8e94fe9897b87232ef702.sam@gentoo
1 commit: 0234266ea48500719ae8e94fe9897b87232ef702
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Wed Dec 1 18:34:02 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Wed Dec 1 18:34:40 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0234266e
7
8 net-im/discord-bin: fix glibc[-clone3] dependency
9
10 We need to consider two cases:
11
12 - stable users (2.33-r7 right now) who do not have the flag and are therefore fine =>
13 -clone3(-)
14
15 - ~arch users (2.34* right now) who do have the flag and when it doesn't exist for
16 older versions of 2.34, it's on => -clone3(+)
17
18 Reported-by: Miezhiko
19 Signed-off-by: Sam James <sam <AT> gentoo.org>
20
21 .../{discord-bin-0.0.16-r3.ebuild => discord-bin-0.0.16-r4.ebuild} | 4 ++--
22 1 file changed, 2 insertions(+), 2 deletions(-)
23
24 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
25 similarity index 94%
26 rename from net-im/discord-bin/discord-bin-0.0.16-r3.ebuild
27 rename to net-im/discord-bin/discord-bin-0.0.16-r4.ebuild
28 index 180003bc792f..48e53417c99b 100644
29 --- a/net-im/discord-bin/discord-bin-0.0.16-r3.ebuild
30 +++ b/net-im/discord-bin/discord-bin-0.0.16-r4.ebuild
31 @@ -19,7 +19,7 @@ KEYWORDS="~amd64"
32 RESTRICT="mirror bindist"
33
34 # libXScrnSaver is used through dlopen (bug #825370)
35 -# Need to drop -clone3(-) from glibc once Electron is updated
36 +# Need to drop -clone3(+) from glibc once Electron is updated
37 # bug #819045, bug #827386
38 RDEPEND="
39 app-accessibility/at-spi2-atk:2
40 @@ -33,7 +33,7 @@ RDEPEND="
41 media-libs/mesa[gbm(+)]
42 net-print/cups
43 sys-apps/dbus
44 - sys-libs/glibc[-clone3(-)]
45 + || ( <sys-libs/glibc-2.34 >=sys-libs/glibc-2.34[-clone3(+)] )
46 x11-libs/cairo
47 x11-libs/gdk-pixbuf:2
48 x11-libs/gtk+:3