games-rpg/gwiz: build with gcc5 (bug #572532)
authorMichael Sterrett <mr_bones_@gentoo.org>
Thu, 31 Mar 2016 22:06:14 +0000 (18:06 -0400)
committerMichael Sterrett <mr_bones_@gentoo.org>
Thu, 31 Mar 2016 22:06:32 +0000 (18:06 -0400)
Package-Manager: portage-2.2.26

games-rpg/gwiz/gwiz-0.8.ebuild

index bcdc52ddc4e6fd4915f7251e8f914b7cc633623d..9ddf2c30a405514bf80c7586eb637331d9f7e20b 100644 (file)
@@ -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="clone of old-school Wizardry(tm) games by SirTech"
 HOMEPAGE="http://icculus.org/gwiz/"
@@ -21,6 +21,7 @@ RDEPEND=${DEPEND}
 
 src_prepare() {
        epatch "${FILESDIR}"/${P}-buffer.patch
+       append-cflags -std=gnu89 # build with gcc5 (bug #572532)
 }
 
 src_install() {