1 |
commit: f7888cd11398109bc79e872d86379a578d0f7898 |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Apr 28 10:29:20 2018 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Apr 28 10:29:20 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7888cd1 |
7 |
|
8 |
games-puzzle/sgt-puzzles: Drop -Werror (bug #654202). |
9 |
|
10 |
Package-Manager: Portage-2.3.31, Repoman-2.3.9 |
11 |
|
12 |
games-puzzle/sgt-puzzles/sgt-puzzles-20171029.ebuild | 7 +++++-- |
13 |
games-puzzle/sgt-puzzles/sgt-puzzles-99999999.ebuild | 7 +++++-- |
14 |
2 files changed, 10 insertions(+), 4 deletions(-) |
15 |
|
16 |
diff --git a/games-puzzle/sgt-puzzles/sgt-puzzles-20171029.ebuild b/games-puzzle/sgt-puzzles/sgt-puzzles-20171029.ebuild |
17 |
index cc3a64811f1..cfc0b290bca 100644 |
18 |
--- a/games-puzzle/sgt-puzzles/sgt-puzzles-20171029.ebuild |
19 |
+++ b/games-puzzle/sgt-puzzles/sgt-puzzles-20171029.ebuild |
20 |
@@ -1,4 +1,4 @@ |
21 |
-# Copyright 1999-2017 Gentoo Foundation |
22 |
+# Copyright 1999-2018 Gentoo Foundation |
23 |
# Distributed under the terms of the GNU General Public License v2 |
24 |
|
25 |
EAPI=6 |
26 |
@@ -50,7 +50,10 @@ src_prepare() { |
27 |
default |
28 |
|
29 |
sed -i \ |
30 |
- -e 's/-O2 -Wall -Werror -ansi -pedantic -g//' \ |
31 |
+ -e 's|-Werror||g' \ |
32 |
+ configure.ac || die |
33 |
+ sed -i \ |
34 |
+ -e 's/-O2 -Wall .* -g/-Wall/' \ |
35 |
-e "s/libstr =/libstr = '\$(LDFLAGS) ' ./" \ |
36 |
mkfiles.pl || die |
37 |
./mkfiles.pl || die |
38 |
|
39 |
diff --git a/games-puzzle/sgt-puzzles/sgt-puzzles-99999999.ebuild b/games-puzzle/sgt-puzzles/sgt-puzzles-99999999.ebuild |
40 |
index cc3a64811f1..cfc0b290bca 100644 |
41 |
--- a/games-puzzle/sgt-puzzles/sgt-puzzles-99999999.ebuild |
42 |
+++ b/games-puzzle/sgt-puzzles/sgt-puzzles-99999999.ebuild |
43 |
@@ -1,4 +1,4 @@ |
44 |
-# Copyright 1999-2017 Gentoo Foundation |
45 |
+# Copyright 1999-2018 Gentoo Foundation |
46 |
# Distributed under the terms of the GNU General Public License v2 |
47 |
|
48 |
EAPI=6 |
49 |
@@ -50,7 +50,10 @@ src_prepare() { |
50 |
default |
51 |
|
52 |
sed -i \ |
53 |
- -e 's/-O2 -Wall -Werror -ansi -pedantic -g//' \ |
54 |
+ -e 's|-Werror||g' \ |
55 |
+ configure.ac || die |
56 |
+ sed -i \ |
57 |
+ -e 's/-O2 -Wall .* -g/-Wall/' \ |
58 |
-e "s/libstr =/libstr = '\$(LDFLAGS) ' ./" \ |
59 |
mkfiles.pl || die |
60 |
./mkfiles.pl || die |