From: Michael Sterrett Date: Thu, 31 Mar 2016 08:46:18 +0000 (-0400) Subject: games-action/koth: build with gcc5 (bug #570730) X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5447acb2b36c8c75a5faee7908778fc916547409;p=gentoo.git games-action/koth: build with gcc5 (bug #570730) Package-Manager: portage-2.2.26 --- diff --git a/games-action/koth/koth-0.8.0.ebuild b/games-action/koth/koth-0.8.0.ebuild index 0bbe48f16ffa..eea7122cf3da 100644 --- a/games-action/koth/koth-0.8.0.ebuild +++ b/games-action/koth/koth-0.8.0.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2015 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="Multiplayer, networked game of little tanks with really big weapons" HOMEPAGE="http://www.nongnu.org/koth/" @@ -23,6 +23,7 @@ src_prepare() { epatch "${FILESDIR}"/${P}-gcc-3.4.patch sed -i "s:/etc/koth:${GAMES_SYSCONFDIR}:" cfgfile.h || die sed -i 's:(uint16):(uint16_t):' gfx.c gfx.h || die + append-cflags -std=gnu89 # build with gcc5 (bug #570730) } src_install() {