commit:     9e877958a6a356f3cd6a418f12c0d7571d7bc715
Author:     Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 31 16:34:14 2016 +0000
Commit:     Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
CommitDate: Thu Mar 31 16:34:31 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e877958

games-simulation/lincity: build with gcc5 (bug #570574)

Package-Manager: portage-2.2.26

 games-simulation/lincity/lincity-1.13.1.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/games-simulation/lincity/lincity-1.13.1.ebuild 
b/games-simulation/lincity/lincity-1.13.1.ebuild
index cbbe57f..6d94ee4 100644
--- a/games-simulation/lincity/lincity-1.13.1.ebuild
+++ b/games-simulation/lincity/lincity-1.13.1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
 EAPI=5
-inherit eutils games
+inherit eutils flag-o-matic games
 
 DESCRIPTION="city/country simulation game for X and Linux SVGALib"
 HOMEPAGE="http://lincity.sourceforge.net/";
@@ -24,6 +24,7 @@ DEPEND="${RDEPEND}
 
 src_prepare() {
        epatch "${FILESDIR}"/${P}-build.patch
+       append-cflags -std=gnu89 # build with gcc5 (bug #570574)
 }
 
 src_configure() {

Reply via email to