diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-09-18 13:43:42 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-09-18 13:43:42 +0000 |
| commit | ea97efcc198edfea3f06de64ec17d81de009be36 (patch) | |
| tree | 8714e5b36ab4d84a30ac52e34cb115087f83c5fb /dev-cpp | |
| parent | 10057221902c3c290f3dd09052472f38b44f969e (diff) | |
| download | baldeagleos-repo-ea97efcc198edfea3f06de64ec17d81de009be36.tar.gz baldeagleos-repo-ea97efcc198edfea3f06de64ec17d81de009be36.tar.xz baldeagleos-repo-ea97efcc198edfea3f06de64ec17d81de009be36.zip | |
Adding metadata
Diffstat (limited to 'dev-cpp')
| -rw-r--r-- | dev-cpp/doctest/doctest-2.4.6.ebuild | 2 | ||||
| -rw-r--r-- | dev-cpp/doctest/files/doctest-2.4.6-remove-unused-bla2.patch | 23 |
2 files changed, 25 insertions, 0 deletions
diff --git a/dev-cpp/doctest/doctest-2.4.6.ebuild b/dev-cpp/doctest/doctest-2.4.6.ebuild index 09d25151de7d..19efed964dd5 100644 --- a/dev-cpp/doctest/doctest-2.4.6.ebuild +++ b/dev-cpp/doctest/doctest-2.4.6.ebuild @@ -15,6 +15,8 @@ KEYWORDS="~amd64 ~x86" IUSE="test" RESTRICT="!test? ( test )" +PATCHES=( "${FILESDIR}/${P}-remove-unused-bla2.patch" ) + src_configure() { local mycmakeargs=( -DDOCTEST_WITH_TESTS=$(usex test) diff --git a/dev-cpp/doctest/files/doctest-2.4.6-remove-unused-bla2.patch b/dev-cpp/doctest/files/doctest-2.4.6-remove-unused-bla2.patch new file mode 100644 index 000000000000..69efd40e6a42 --- /dev/null +++ b/dev-cpp/doctest/files/doctest-2.4.6-remove-unused-bla2.patch @@ -0,0 +1,23 @@ +This patch follows proposed fixes to upstream. + +PR-1: https://github.com/onqtam/doctest/pull/505 +PR-2: https://github.com/onqtam/doctest/pull/520 + + +diff --git a/examples/all_features/stringification.cpp b/examples/all_features/stringification.cpp +index a8b5d5b..492e1ec 100644 +--- a/examples/all_features/stringification.cpp ++++ b/examples/all_features/stringification.cpp +@@ -103,9 +103,6 @@ TEST_CASE("all asserts should fail and show how the objects get stringified") { + MyTypeInherited<int> bla1; + bla1.one = 5; + bla1.two = 4u; +- MyTypeInherited<int> bla2; +- bla2.one = 5; +- bla2.two = 6u; + + Bar::Foo f1; + Bar::Foo f2; +-- +2.32.0 + |
