commit:     b3279540b497ba8c748edb378abcf13f6f361911
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Oct  9 08:22:19 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Oct  9 08:43:10 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3279540

dev-cpp/gtest: Remove old

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-cpp/gtest/Manifest                             |  1 -
 ...9.0_pre20190607-increase-clone-stack-size.patch | 13 ----
 dev-cpp/gtest/gtest-1.9.0_pre20190607.ebuild       | 80 ----------------------
 3 files changed, 94 deletions(-)

diff --git a/dev-cpp/gtest/Manifest b/dev-cpp/gtest/Manifest
index 49066ef5fa4..1c0e1e6d97a 100644
--- a/dev-cpp/gtest/Manifest
+++ b/dev-cpp/gtest/Manifest
@@ -1,2 +1 @@
 DIST gtest-1.10.0_p20200702.tar.gz 866900 BLAKE2B 
c162d47868583ba270675abe5df935b8f4b9a9c00dbdc80dd88afa7f2b98266640b32b2ea5e8f9f6d6227196b5d2f79dbfda4e9585106224e814cc1503cf777d
 SHA512 
715d887b59b47d4691c7c90ef0cf0ffc3d1e758e500263c76b50fd506e90a9d1c390af745933cfe3f55e1edac5d72dccedef3cb9a50b71a5b796424471a3017b
-DIST gtest-1.9.0_pre20190607.tar.gz 958396 BLAKE2B 
64ae2c86a320a6ed56d6f99383591f7a0176e3f1291144bddf6dc82733c78177963f95516bbaed494318d3d7451d164aeb0d4a192b415414bcc25b9875cf6e82
 SHA512 
6c17ba303ec1dc8a989075a6dc0eda9b023345d00f6b43e588676cc2cd291f8c508744e4aba86a6c6b651329ce47419ad04d5765ca5978eda507a1643e8a92c3

diff --git 
a/dev-cpp/gtest/files/gtest-1.9.0_pre20190607-increase-clone-stack-size.patch 
b/dev-cpp/gtest/files/gtest-1.9.0_pre20190607-increase-clone-stack-size.patch
deleted file mode 100644
index 38d515a48dd..00000000000
--- 
a/dev-cpp/gtest/files/gtest-1.9.0_pre20190607-increase-clone-stack-size.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-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());
-+    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);

diff --git a/dev-cpp/gtest/gtest-1.9.0_pre20190607.ebuild 
b/dev-cpp/gtest/gtest-1.9.0_pre20190607.ebuild
deleted file mode 100644
index 9aa2139201b..00000000000
--- a/dev-cpp/gtest/gtest-1.9.0_pre20190607.ebuild
+++ /dev/null
@@ -1,80 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-# Python is required for tests and some build tasks.
-PYTHON_COMPAT=( python2_7 )
-
-CMAKE_ECLASS=cmake
-GOOGLETEST_COMMIT=da10da05c262af0a9e8fa91789a272a3dec67655
-inherit cmake-multilib python-any-r1
-
-if [[ ${PV} == "9999" ]]; then
-       inherit git-r3
-       EGIT_REPO_URI="https://github.com/google/googletest";
-else
-       if [[ -z ${GOOGLETEST_COMMIT} ]]; then
-               MY_PV=release-${PV}
-       else
-               MY_PV=${GOOGLETEST_COMMIT}
-       fi
-       SRC_URI="https://github.com/google/googletest/archive/${MY_PV}.tar.gz 
-> ${P}.tar.gz"
-       KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 s390 
sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
-       S="${WORKDIR}"/googletest-${MY_PV}
-fi
-
-DESCRIPTION="Google C++ Testing Framework"
-HOMEPAGE="https://github.com/google/googletest";
-
-LICENSE="BSD"
-SLOT="0"
-IUSE="doc examples test"
-RESTRICT="!test? ( test )"
-
-DEPEND="test? ( ${PYTHON_DEPS} )"
-RDEPEND="!dev-cpp/gmock"
-
-PATCHES=(
-       "${FILESDIR}"/${PN}-1.9.0_pre20190607-increase-clone-stack-size.patch
-)
-
-pkg_setup() {
-       use test && python-any-r1_pkg_setup
-}
-
-src_prepare() {
-       cmake_src_prepare
-
-       sed -i -e '/set(cxx_base_flags /s:-Werror::' \
-               googletest/cmake/internal_utils.cmake || die "sed failed!"
-}
-
-multilib_src_configure() {
-       local mycmakeargs=(
-               -DBUILD_GMOCK=ON
-               -DINSTALL_GTEST=ON
-
-               # tests
-               -Dgmock_build_tests=$(usex test)
-               -Dgtest_build_tests=$(usex test)
-               -DPYTHON_EXECUTABLE="${PYTHON}"
-       )
-       cmake_src_configure
-}
-
-multilib_src_install_all() {
-       einstalldocs
-
-       if use doc; then
-               docinto googletest
-               dodoc -r googletest/docs/.
-               docinto googlemock
-               dodoc -r googlemock/docs/.
-       fi
-
-       if use examples; then
-               docinto examples
-               dodoc googletest/samples/*.{cc,h}
-       fi
-}

Reply via email to