diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2016-03-31 13:31:24 -0400 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2016-03-31 13:31:24 -0400 |
commit | 752e8f080e3629f57a09a04da2f5a9a6da00bcbe (patch) | |
tree | ee274ffa93001b9a39147a90aa1a84a5bb514ad1 /games-arcade/cdogs-sdl | |
parent | games-emulation/mamory: build with gcc5 (bug #570500) (diff) | |
download | gentoo-752e8f080e3629f57a09a04da2f5a9a6da00bcbe.tar.gz gentoo-752e8f080e3629f57a09a04da2f5a9a6da00bcbe.tar.bz2 gentoo-752e8f080e3629f57a09a04da2f5a9a6da00bcbe.zip |
games-arcade/cdogs-sdl: build with gcc5 (bug #571112)
Package-Manager: portage-2.2.26
Diffstat (limited to 'games-arcade/cdogs-sdl')
-rw-r--r-- | games-arcade/cdogs-sdl/cdogs-sdl-0.4-r1.ebuild | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/games-arcade/cdogs-sdl/cdogs-sdl-0.4-r1.ebuild b/games-arcade/cdogs-sdl/cdogs-sdl-0.4-r1.ebuild index f0534386f851..1ff6623e8acb 100644 --- a/games-arcade/cdogs-sdl/cdogs-sdl-0.4-r1.ebuild +++ b/games-arcade/cdogs-sdl/cdogs-sdl-0.4-r1.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 CDOGS_DATA="cdogs-data-2007-07-06" DESCRIPTION="A port of the old DOS arcade game C-Dogs" @@ -32,10 +32,9 @@ src_prepare() { -e "/^CF_OPT/d" \ -e "/^CC/d" \ Makefile || die - sed -i \ - -e "/\bopen(/s/)/, 0666)/" \ - files.c || die + sed -i -e "/\bopen(/s/)/, 0666)/" files.c || die epatch "${FILESDIR}"/${P}-64bit.patch + append-cflags -std=gnu89 # build with gcc5 (bug #571112) } src_compile() { |