games-simulation/lincity: build with gcc5 (bug #570574)
authorMichael Sterrett <mr_bones_@gentoo.org>
Thu, 31 Mar 2016 16:34:14 +0000 (12:34 -0400)
committerMichael Sterrett <mr_bones_@gentoo.org>
Thu, 31 Mar 2016 16:34:31 +0000 (12:34 -0400)
Package-Manager: portage-2.2.26

games-simulation/lincity/lincity-1.13.1.ebuild

index cbbe57f97ebd06f4eec2a0202ff652aafe9c1184..6d94ee4008afc14e4f1a60609535bbcf4c0587bb 100644 (file)
@@ -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() {