games-engines/gargoyle: build with gcc5 (bug #573378)
authorMichael Sterrett <mr_bones_@gentoo.org>
Fri, 1 Apr 2016 07:30:32 +0000 (03:30 -0400)
committerMichael Sterrett <mr_bones_@gentoo.org>
Fri, 1 Apr 2016 07:31:11 +0000 (03:31 -0400)
Package-Manager: portage-2.2.26

games-engines/gargoyle/gargoyle-2011.1.ebuild

index 428fc301da11a1c27329b272ae682bc20925930c..0494b53bae62f971640eb8c461949fdbd2486b5d 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -10,7 +10,7 @@
 # don't apply. (Fonts are installed through dependencies instead.)
 
 EAPI=5
-inherit eutils multiprocessing toolchain-funcs gnome2-utils games
+inherit eutils flag-o-matic multiprocessing toolchain-funcs gnome2-utils games
 
 DESCRIPTION="An Interactive Fiction (IF) player supporting all major formats"
 HOMEPAGE="http://ccxvii.net/gargoyle/"
@@ -57,6 +57,7 @@ src_prepare() {
        sed -i -e 's/Linux Libertine O/Linux Libertine/g' garglk/garglk.ini || die
 
        epatch "${FILESDIR}"/${P}-desktopfile.patch
+       append-cflags -std=gnu89 # build with gcc5 (bug #573378)
 }
 
 src_compile() {