1 |
commit: 62ca6782c192c3453a7c814933f0e9da55a4a90a |
2 |
Author: Nicola Smaniotto <smaniotto.nicola <AT> gmail <DOT> com> |
3 |
AuthorDate: Mon Feb 27 12:02:55 2023 +0000 |
4 |
Commit: Viorel Munteanu <ceamac <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 27 15:13:32 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=62ca6782 |
7 |
|
8 |
games-puzzle/aaaaxy: remove -Werror from deps |
9 |
|
10 |
Closes: https://bugs.gentoo.org/887305 |
11 |
Signed-off-by: Nicola Smaniotto <smaniotto.nicola <AT> gmail.com> |
12 |
|
13 |
games-puzzle/aaaaxy/aaaaxy-1.2.399.ebuild | 7 +++++++ |
14 |
games-puzzle/aaaaxy/aaaaxy-1.3.103.ebuild | 7 +++++++ |
15 |
games-puzzle/aaaaxy/aaaaxy-1.3.263.ebuild | 7 +++++++ |
16 |
3 files changed, 21 insertions(+) |
17 |
|
18 |
diff --git a/games-puzzle/aaaaxy/aaaaxy-1.2.399.ebuild b/games-puzzle/aaaaxy/aaaaxy-1.2.399.ebuild |
19 |
index 84cd95ac2..8b916e6a1 100644 |
20 |
--- a/games-puzzle/aaaaxy/aaaaxy-1.2.399.ebuild |
21 |
+++ b/games-puzzle/aaaaxy/aaaaxy-1.2.399.ebuild |
22 |
@@ -34,6 +34,13 @@ BDEPEND=" |
23 |
x11-libs/libXxf86vm |
24 |
" |
25 |
|
26 |
+src_prepare() { |
27 |
+ eapply_user |
28 |
+ |
29 |
+ # some dependencies use -Werror |
30 |
+ find "${WORKDIR}" -type f -exec sed -i "s/\-Werror//g" {} + || die "Could not remove -Werror" |
31 |
+} |
32 |
+ |
33 |
src_configure() { |
34 |
GOFLAGS+=" -buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw" |
35 |
} |
36 |
|
37 |
diff --git a/games-puzzle/aaaaxy/aaaaxy-1.3.103.ebuild b/games-puzzle/aaaaxy/aaaaxy-1.3.103.ebuild |
38 |
index 580af0df0..6cdfada16 100644 |
39 |
--- a/games-puzzle/aaaaxy/aaaaxy-1.3.103.ebuild |
40 |
+++ b/games-puzzle/aaaaxy/aaaaxy-1.3.103.ebuild |
41 |
@@ -34,6 +34,13 @@ BDEPEND=" |
42 |
x11-libs/libXxf86vm |
43 |
" |
44 |
|
45 |
+src_prepare() { |
46 |
+ eapply_user |
47 |
+ |
48 |
+ # some dependencies use -Werror |
49 |
+ find "${WORKDIR}" -type f -exec sed -i "s/\-Werror//g" {} + || die "Could not remove -Werror" |
50 |
+} |
51 |
+ |
52 |
src_configure() { |
53 |
GOFLAGS+=" -buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw" |
54 |
} |
55 |
|
56 |
diff --git a/games-puzzle/aaaaxy/aaaaxy-1.3.263.ebuild b/games-puzzle/aaaaxy/aaaaxy-1.3.263.ebuild |
57 |
index 5a1c9b6a2..f7e67c08b 100644 |
58 |
--- a/games-puzzle/aaaaxy/aaaaxy-1.3.263.ebuild |
59 |
+++ b/games-puzzle/aaaaxy/aaaaxy-1.3.263.ebuild |
60 |
@@ -34,6 +34,13 @@ BDEPEND=" |
61 |
x11-libs/libXxf86vm |
62 |
" |
63 |
|
64 |
+src_prepare() { |
65 |
+ eapply_user |
66 |
+ |
67 |
+ # some dependencies use -Werror |
68 |
+ find "${WORKDIR}" -type f -exec sed -i "s/\-Werror//g" {} + || die "Could not remove -Werror" |
69 |
+} |
70 |
+ |
71 |
src_configure() { |
72 |
GOFLAGS+=" -buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw" |
73 |
} |