games-puzzle/sgt-puzzles: Drop -Werror (bug #654202).
authorJeroen Roovers <jer@gentoo.org>
Sat, 28 Apr 2018 10:29:20 +0000 (12:29 +0200)
committerJeroen Roovers <jer@gentoo.org>
Sat, 28 Apr 2018 10:29:20 +0000 (12:29 +0200)
Package-Manager: Portage-2.3.31, Repoman-2.3.9

games-puzzle/sgt-puzzles/sgt-puzzles-20171029.ebuild
games-puzzle/sgt-puzzles/sgt-puzzles-99999999.ebuild

index cc3a64811f1f32a00fa42f9137f616fee7d21820..cfc0b290bca1a0bcd286a6152e05ad447762f8e2 100644 (file)
@@ -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
index cc3a64811f1f32a00fa42f9137f616fee7d21820..cfc0b290bca1a0bcd286a6152e05ad447762f8e2 100644 (file)
@@ -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