summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger <mmk@levelnine.at>2021-11-05 16:30:47 +0100
committerJakov Smolić <jsmolic@gentoo.org>2021-11-06 10:30:13 +0100
commit9ec2fda0de0eaa6e4275498f5be54678cc4292ea (patch)
treeca547dd47ce30e98b9d8d90af2285272a5136b7b /sys-cluster
parentdev-db/tinycdb: drop old (diff)
downloadgentoo-9ec2fda0de0eaa6e4275498f5be54678cc4292ea.tar.gz
gentoo-9ec2fda0de0eaa6e4275498f5be54678cc4292ea.tar.bz2
gentoo-9ec2fda0de0eaa6e4275498f5be54678cc4292ea.zip
sys-cluster/openmpi: remove unused patch
Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at> Closes: https://github.com/gentoo/gentoo/pull/22831 Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
Diffstat (limited to 'sys-cluster')
-rw-r--r--sys-cluster/openmpi/files/hooks-disable-malloc-override-inside-of-Gentoo-sandb.patch42
1 files changed, 0 insertions, 42 deletions
diff --git a/sys-cluster/openmpi/files/hooks-disable-malloc-override-inside-of-Gentoo-sandb.patch b/sys-cluster/openmpi/files/hooks-disable-malloc-override-inside-of-Gentoo-sandb.patch
deleted file mode 100644
index 197430aee6f2..000000000000
--- a/sys-cluster/openmpi/files/hooks-disable-malloc-override-inside-of-Gentoo-sandb.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-From 3bd5897c7ca8ab61fb024957aeae891e204b3e3f Mon Sep 17 00:00:00 2001
-From: Justin Bronder <jsbronder@gmail.com>
-Date: Mon, 1 Jul 2013 20:37:17 -0400
-Subject: [PATCH] hooks: disable malloc override inside of Gentoo sandbox
-
-As described in the comments in the source, Gentoo's own version of
-fakeroot, sandbox, also runs into hangs when malloc is overridden.
-Sandbox environments can easily be detected by looking for SANDBOX_PID
-in the environment. When detected, employ the same fix used for
-fakeroot.
-
-See https://bugs.gentoo.org/show_bug.cgi?id=462602
----
- opal/mca/memory/linux/hooks.c | 11 +++++++++--
- 1 file changed, 9 insertions(+), 2 deletions(-)
-
-diff --git a/opal/mca/memory/linux/hooks.c b/opal/mca/memory/linux/hooks.c
-index 6a1646f..5ded08c 100644
---- a/opal/mca/memory/linux/hooks.c
-+++ b/opal/mca/memory/linux/hooks.c
-@@ -747,9 +747,16 @@ static void opal_memory_linux_malloc_init_hook(void)
- "fakeroot" build environment that allocates memory during
- stat() (see http://bugs.debian.org/531522). It may not be
- necessary any more since we're using access(), not stat(). But
-- we'll leave the check, anyway. */
-+ we'll leave the check, anyway.
-+
-+ This is also an issue when using Gentoo's version of 'fakeroot',
-+ sandbox v2.5. Sandbox environments can also be detected fairly
-+ easily by looking for SANDBOX_ON.
-+ */
-+
- if (getenv("FAKEROOTKEY") != NULL ||
-- getenv("FAKED_MODE") != NULL) {
-+ getenv("FAKED_MODE") != NULL ||
-+ getenv("SANDBOX_ON") != NULL ) {
- return;
- }
-
---
-1.8.1.5
-