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