diff options
author | Peter Levine <plevine457@gmail.com> | 2020-06-11 04:41:20 -0400 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2020-07-19 13:43:25 +0300 |
commit | ac7ce29d3b1447efa79f96b41f7da3f933050645 (patch) | |
tree | 6b4a239fa0442a63a19c383fa5e4bc1ed743158e /dev-cpp/gtest/files | |
parent | sys-apps/ucspi-ssl: retire proxied maintainer (diff) | |
download | gentoo-ac7ce29d3b1447efa79f96b41f7da3f933050645.tar.gz gentoo-ac7ce29d3b1447efa79f96b41f7da3f933050645.tar.bz2 gentoo-ac7ce29d3b1447efa79f96b41f7da3f933050645.zip |
dev-cpp/gtest: Update the increase-clone-stack-size patch for live
Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Peter Levine <plevine457@gmail.com>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'dev-cpp/gtest/files')
-rwxr-xr-x | dev-cpp/gtest/files/gtest-1.10.0_p20200702-increase-clone-stack-size.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/dev-cpp/gtest/files/gtest-1.10.0_p20200702-increase-clone-stack-size.patch b/dev-cpp/gtest/files/gtest-1.10.0_p20200702-increase-clone-stack-size.patch new file mode 100755 index 000000000000..3e06777ac9a9 --- /dev/null +++ b/dev-cpp/gtest/files/gtest-1.10.0_p20200702-increase-clone-stack-size.patch @@ -0,0 +1,13 @@ +Bug: https://bugs.gentoo.org/692464 + +--- a/googletest/src/gtest-death-test.cc ++++ b/googletest/src/gtest-death-test.cc +@@ -1070,7 +1070,7 @@ + + if (!use_fork) { + static const bool stack_grows_down = StackGrowsDown(); +- const auto stack_size = static_cast<size_t>(getpagesize() * 2); ++ const auto stack_size = static_cast<size_t>(getpagesize() * 10); + // MMAP_ANONYMOUS is not defined on Mac, so we use MAP_ANON instead. + void* const stack = mmap(NULL, stack_size, PROT_READ | PROT_WRITE, + MAP_ANON | MAP_PRIVATE, -1, 0); |