diff options
author | Michael Mair-Keimberger <mmk@levelnine.at> | 2022-01-13 21:10:48 +0100 |
---|---|---|
committer | Conrad Kostecki <conikost@gentoo.org> | 2022-02-10 00:03:32 +0100 |
commit | 2f3d1c9c87f749e9a0081d3390934cb59fe98217 (patch) | |
tree | eea4b61be075346b659a55b1a381be42323d7b44 /sys-libs/glibc | |
parent | sys-fs/fuse-common: remove unused file (diff) | |
download | gentoo-2f3d1c9c87f749e9a0081d3390934cb59fe98217.tar.gz gentoo-2f3d1c9c87f749e9a0081d3390934cb59fe98217.tar.bz2 gentoo-2f3d1c9c87f749e9a0081d3390934cb59fe98217.zip |
sys-libs/glibc: remove unused patch
Closes: https://github.com/gentoo/gentoo/pull/23780
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at>
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'sys-libs/glibc')
-rw-r--r-- | sys-libs/glibc/files/glibc-2.34-make-clone3-syscall-optional.patch | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/sys-libs/glibc/files/glibc-2.34-make-clone3-syscall-optional.patch b/sys-libs/glibc/files/glibc-2.34-make-clone3-syscall-optional.patch deleted file mode 100644 index bbc6cabb463d..000000000000 --- a/sys-libs/glibc/files/glibc-2.34-make-clone3-syscall-optional.patch +++ /dev/null @@ -1,48 +0,0 @@ -From 22afb7abbfa0e2d4d168dcd2844aa9935a71cb37 Mon Sep 17 00:00:00 2001 -From: Sam James <sam@gentoo.org> -Date: Wed, 1 Dec 2021 14:58:40 +0000 -Subject: [PATCH] clone-internal.c: disable use of clone3 conditinally - -We're disabling clone3 for now _CONDITIONALLY_ (not by default) to allow -compatibility with applications using older Electron. - -Use -DGENTOO_USE_CLONE3 to enable clone3 for now. In future, we will -revert back to always using clone3. - -This was impacting e.g. Discord and Skype. This patch stops glibc from using -clone3 internally (which is the only real use of it) and falls back to the old -behaviour. - -Specifically, we want https://github.com/electron/electron/pull/31091 -to work its way downstream to various Electron applications. - -https://bugs.gentoo.org/819045 -https://bugs.gentoo.org/827386 - -https://git.launchpad.net/~ubuntu-core-dev/ubuntu/+source/glibc/plain/debian/patches/ubuntu/disable-clone3.patch - -This is the same as the patch that was considered but ultimately rejected -for 2.34 because Docker got sorted out in time: -https://patchwork.ozlabs.org/project/glibc/patch/87eebkf8ph.fsf@oldenburg.str.redhat.com/. - -Signed-off-by: Sam James <sam@gentoo.org> ---- - sysdeps/unix/sysv/linux/clone-internal.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/sysdeps/unix/sysv/linux/clone-internal.c b/sysdeps/unix/sysv/linux/clone-internal.c -index 979f7880be..c5566daf73 100644 ---- a/sysdeps/unix/sysv/linux/clone-internal.c -+++ b/sysdeps/unix/sysv/linux/clone-internal.c -@@ -48,7 +48,7 @@ __clone_internal (struct clone_args *cl_args, - int (*func) (void *arg), void *arg) - { - int ret; --#ifdef HAVE_CLONE3_WRAPPER -+#if defined(HAVE_CLONE3_WRAPPER) && defined(GENTOO_USE_CLONE3) - /* Try clone3 first. */ - int saved_errno = errno; - ret = __clone3 (cl_args, sizeof (*cl_args), func, arg); --- -2.34.1 - |