summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetr Vaněk <arkamar@atlas.cz>2023-03-05 09:34:52 +0100
committerSam James <sam@gentoo.org>2023-03-05 11:19:20 +0000
commit82c15976e4ada7e9320b666b9d2252a11e10e7fa (patch)
treece91b372ec04c4d6f424933472ed8d924a9a13ac /dev-cpp
parentnet-libs/xdp-tools: bump to 1.3.1 & add build fixes (diff)
downloadgentoo-82c15976e4ada7e9320b666b9d2252a11e10e7fa.tar.gz
gentoo-82c15976e4ada7e9320b666b9d2252a11e10e7fa.tar.bz2
gentoo-82c15976e4ada7e9320b666b9d2252a11e10e7fa.zip
dev-cpp/doctest: remove automatic -Werror
doctest builds tests with -Werror flag enabled by default. This is not wanted, let's remove it. Closes: https://bugs.gentoo.org/891679 Signed-off-by: Petr Vaněk <arkamar@atlas.cz> Closes: https://github.com/gentoo/gentoo/pull/29929 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-cpp')
-rw-r--r--dev-cpp/doctest/doctest-2.4.10.ebuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/dev-cpp/doctest/doctest-2.4.10.ebuild b/dev-cpp/doctest/doctest-2.4.10.ebuild
index 1bfdf7c3187d..b2da0710bd8a 100644
--- a/dev-cpp/doctest/doctest-2.4.10.ebuild
+++ b/dev-cpp/doctest/doctest-2.4.10.ebuild
@@ -15,6 +15,11 @@ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc
IUSE="test"
RESTRICT="!test? ( test )"
+src_prepare() {
+ sed -i '/-Werror/d' scripts/cmake/common.cmake || die
+ cmake_src_prepare
+}
+
src_configure() {
local mycmakeargs=(
-DDOCTEST_WITH_TESTS=$(usex test)