dev-cpp/gtest: Fix test failure on sparc64
authorPeter Levine <plevine457@gmail.com>
Tue, 20 Aug 2019 05:56:41 +0000 (01:56 -0400)
committerJoonas Niilola <juippis@gentoo.org>
Wed, 21 Aug 2019 05:06:55 +0000 (08:06 +0300)
commitaa4cea02ac7bb486979ce96d29b0dc6c76491184
tree11273ebaecbff8c777435444a6e732af00bf39d6
parentc41bf1762a88c06c76de4dc1a8afc5ac4cd6bc65
dev-cpp/gtest: Fix test failure on sparc64

sparc64 exhibits the same usersandbox stack overflow bug and its stack can
apparently grow upwards in memory.  Revert back to allocating 10 pages of
mapped memory for the offending call to clone().

Bug: https://bugs.gentoo.org/692464
Reported-by: Rolf Eike Beer <gentoo-bug@opensource.sf-tec.de>
Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: Peter Levine <plevine457@gmail.com>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
dev-cpp/gtest/files/gtest-1.9.0_pre20190607-add-mmap-stack-flag.patch [deleted file]
dev-cpp/gtest/files/gtest-1.9.0_pre20190607-increase-clone-stack-size.patch [new file with mode: 0755]
dev-cpp/gtest/gtest-1.9.0_pre20190607.ebuild
dev-cpp/gtest/gtest-9999.ebuild