commit:     f7888cd11398109bc79e872d86379a578d0f7898
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 28 10:29:20 2018 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Sat Apr 28 10:29:20 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7888cd1

games-puzzle/sgt-puzzles: Drop -Werror (bug #654202).

Package-Manager: Portage-2.3.31, Repoman-2.3.9

 games-puzzle/sgt-puzzles/sgt-puzzles-20171029.ebuild | 7 +++++--
 games-puzzle/sgt-puzzles/sgt-puzzles-99999999.ebuild | 7 +++++--
 2 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/games-puzzle/sgt-puzzles/sgt-puzzles-20171029.ebuild 
b/games-puzzle/sgt-puzzles/sgt-puzzles-20171029.ebuild
index cc3a64811f1..cfc0b290bca 100644
--- a/games-puzzle/sgt-puzzles/sgt-puzzles-20171029.ebuild
+++ b/games-puzzle/sgt-puzzles/sgt-puzzles-20171029.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -50,7 +50,10 @@ src_prepare() {
        default
 
        sed -i \
-               -e 's/-O2 -Wall -Werror -ansi -pedantic -g//' \
+               -e 's|-Werror||g' \
+               configure.ac || die
+       sed -i \
+               -e 's/-O2 -Wall .* -g/-Wall/' \
                -e "s/libstr =/libstr = '\$(LDFLAGS) ' ./" \
                mkfiles.pl || die
        ./mkfiles.pl || die

diff --git a/games-puzzle/sgt-puzzles/sgt-puzzles-99999999.ebuild 
b/games-puzzle/sgt-puzzles/sgt-puzzles-99999999.ebuild
index cc3a64811f1..cfc0b290bca 100644
--- a/games-puzzle/sgt-puzzles/sgt-puzzles-99999999.ebuild
+++ b/games-puzzle/sgt-puzzles/sgt-puzzles-99999999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -50,7 +50,10 @@ src_prepare() {
        default
 
        sed -i \
-               -e 's/-O2 -Wall -Werror -ansi -pedantic -g//' \
+               -e 's|-Werror||g' \
+               configure.ac || die
+       sed -i \
+               -e 's/-O2 -Wall .* -g/-Wall/' \
                -e "s/libstr =/libstr = '\$(LDFLAGS) ' ./" \
                mkfiles.pl || die
        ./mkfiles.pl || die

Reply via email to