Gentoo Archives: gentoo-commits

From: Michael Sterrett <mr_bones_@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-arcade/cdogs-sdl/
Date: Thu, 31 Mar 2016 17:31:44
Message-Id: 1459445484.752e8f080e3629f57a09a04da2f5a9a6da00bcbe.mr_bones_@gentoo
1 commit: 752e8f080e3629f57a09a04da2f5a9a6da00bcbe
2 Author: Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
3 AuthorDate: Thu Mar 31 17:31:24 2016 +0000
4 Commit: Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
5 CommitDate: Thu Mar 31 17:31:24 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=752e8f08
7
8 games-arcade/cdogs-sdl: build with gcc5 (bug #571112)
9
10 Package-Manager: portage-2.2.26
11
12 games-arcade/cdogs-sdl/cdogs-sdl-0.4-r1.ebuild | 9 ++++-----
13 1 file changed, 4 insertions(+), 5 deletions(-)
14
15 diff --git a/games-arcade/cdogs-sdl/cdogs-sdl-0.4-r1.ebuild b/games-arcade/cdogs-sdl/cdogs-sdl-0.4-r1.ebuild
16 index f053438..1ff6623 100644
17 --- a/games-arcade/cdogs-sdl/cdogs-sdl-0.4-r1.ebuild
18 +++ b/games-arcade/cdogs-sdl/cdogs-sdl-0.4-r1.ebuild
19 @@ -1,9 +1,9 @@
20 -# Copyright 1999-2015 Gentoo Foundation
21 +# Copyright 1999-2016 Gentoo Foundation
22 # Distributed under the terms of the GNU General Public License v2
23 # $Id$
24
25 EAPI=5
26 -inherit eutils games
27 +inherit eutils flag-o-matic games
28
29 CDOGS_DATA="cdogs-data-2007-07-06"
30 DESCRIPTION="A port of the old DOS arcade game C-Dogs"
31 @@ -32,10 +32,9 @@ src_prepare() {
32 -e "/^CF_OPT/d" \
33 -e "/^CC/d" \
34 Makefile || die
35 - sed -i \
36 - -e "/\bopen(/s/)/, 0666)/" \
37 - files.c || die
38 + sed -i -e "/\bopen(/s/)/, 0666)/" files.c || die
39 epatch "${FILESDIR}"/${P}-64bit.patch
40 + append-cflags -std=gnu89 # build with gcc5 (bug #571112)
41 }
42
43 src_compile() {