commit: e74092ed12329e999a3d8d0901bac9319069d831 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> AuthorDate: Fri Jun 7 08:36:21 2024 +0000 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> CommitDate: Fri Jun 7 08:39:15 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e74092ed
dev-cpp/argparse: fix -Werror Closes: https://bugs.gentoo.org/933585 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> dev-cpp/argparse/argparse-3.0.ebuild | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dev-cpp/argparse/argparse-3.0.ebuild b/dev-cpp/argparse/argparse-3.0.ebuild index 478612f014e0..d5d35ca948ec 100644 --- a/dev-cpp/argparse/argparse-3.0.ebuild +++ b/dev-cpp/argparse/argparse-3.0.ebuild @@ -15,6 +15,11 @@ KEYWORDS="~amd64 ~arm ~arm64 ~x86" IUSE="test" RESTRICT="!test? ( test )" +src_prepare() { + cmake_src_prepare + sed -e 's/ -Werror//' -i test/CMakeLists.txt || die +} + src_configure() { local mycmakeargs=( -DARGPARSE_BUILD_TESTS=$(usex test)
