From 82c15976e4ada7e9320b666b9d2252a11e10e7fa Mon Sep 17 00:00:00 2001 From: Petr Vaněk Date: Sun, 5 Mar 2023 09:34:52 +0100 Subject: dev-cpp/doctest: remove automatic -Werror MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Closes: https://github.com/gentoo/gentoo/pull/29929 Signed-off-by: Sam James --- dev-cpp/doctest/doctest-2.4.10.ebuild | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'dev-cpp') 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) -- cgit v1.2.3-65-gdbad