diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-05-12 16:42:50 +0300 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-05-12 16:42:50 +0300 |
commit | 752d6256e5204b958b0ef7905675a940b5e9172f (patch) | |
tree | 330d16e6362a49cbed8875a777fe641a43376cd3 /dev-cpp/gtest/files/gtest-1.10.0_p20200702-increase-clone-stack-size.patch | |
parent | 0c100b7dd2b30e75b799d806df4ef899fd98e1ea (diff) |
gentoo resync : 12.05.2022
Diffstat (limited to 'dev-cpp/gtest/files/gtest-1.10.0_p20200702-increase-clone-stack-size.patch')
-rw-r--r-- | dev-cpp/gtest/files/gtest-1.10.0_p20200702-increase-clone-stack-size.patch | 3 |
1 files changed, 2 insertions, 1 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 index 3e06777ac9a9..0c47681ba347 100644 --- 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 @@ -1,4 +1,5 @@ Bug: https://bugs.gentoo.org/692464 + https://bugs.gentoo.org/834068 --- a/googletest/src/gtest-death-test.cc +++ b/googletest/src/gtest-death-test.cc @@ -7,7 +8,7 @@ Bug: https://bugs.gentoo.org/692464 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); ++ const auto stack_size = static_cast<size_t>(getpagesize() * 12); // 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); |