diff options
author | James Le Cuirot <chewi@gentoo.org> | 2023-01-29 10:41:22 +0000 |
---|---|---|
committer | James Le Cuirot <chewi@gentoo.org> | 2023-01-29 10:41:22 +0000 |
commit | 9e1b54a3394131b45416f556ced25753e819c90c (patch) | |
tree | dba0b727eedf377c54175e71cade3fbb98993bc9 /dev-cpp/gulrak-filesystem | |
parent | media-libs/libaacs: force bison+flex (diff) | |
download | gentoo-9e1b54a3394131b45416f556ced25753e819c90c.tar.gz gentoo-9e1b54a3394131b45416f556ced25753e819c90c.tar.bz2 gentoo-9e1b54a3394131b45416f556ced25753e819c90c.zip |
dev-cpp/gulrak-filesystem: Strip out -Werror flag
Closes: https://bugs.gentoo.org/891681
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'dev-cpp/gulrak-filesystem')
-rw-r--r-- | dev-cpp/gulrak-filesystem/gulrak-filesystem-1.5.12.ebuild | 7 |
1 files changed, 6 insertions, 1 deletions
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 |