commit: 9e1b54a3394131b45416f556ced25753e819c90c Author: James Le Cuirot <chewi <AT> gentoo <DOT> org> AuthorDate: Sun Jan 29 10:41:22 2023 +0000 Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org> CommitDate: Sun Jan 29 10:41:22 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e1b54a3
dev-cpp/gulrak-filesystem: Strip out -Werror flag Closes: https://bugs.gentoo.org/891681 Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org> dev-cpp/gulrak-filesystem/gulrak-filesystem-1.5.12.ebuild | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/dev-cpp/gulrak-filesystem/gulrak-filesystem-1.5.12.ebuild b/dev-cpp/gulrak-filesystem/gulrak-filesystem-1.5.12.ebuild index e8918cc422cf..e35c0185bc92 100644 --- a/dev-cpp/gulrak-filesystem/gulrak-filesystem-1.5.12.ebuild +++ b/dev-cpp/gulrak-filesystem/gulrak-filesystem-1.5.12.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -17,6 +17,11 @@ RESTRICT="!test? ( test )" S="${WORKDIR}/${P#*-}" +src_prepare() { + cmake_src_prepare + sed -i "s:-Werror::g" cmake/GhcHelper.cmake test/CMakeLists.txt || die +} + src_configure() { local mycmakeargs=( -DGHC_FILESYSTEM_BUILD_EXAMPLES=OFF
