games-action/bomberclone: Build with gcc:5.2

Package-Manager: portage-2.2.20.1
This commit is contained in:
Tupone Alfredo
2015-09-17 22:16:38 +02:00
parent 0de8be361c
commit 0cbcd2f903
2 changed files with 14 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2014 Gentoo Foundation
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -22,7 +22,8 @@ RDEPEND="${DEPEND}"
src_prepare() {
ecvs_clean
epatch "${FILESDIR}"/${P}-underlink.patch
epatch "${FILESDIR}"/${P}-underlink.patch \
"${FILESDIR}"/${P}-gcc52.patch
eautoreconf
}

View File

@@ -0,0 +1,11 @@
--- src/single.c.old 2015-09-17 09:21:57.826930680 +0200
+++ src/single.c 2015-09-17 09:22:04.315824372 +0200
@@ -476,7 +476,7 @@
};
-inline int
+static inline int
ai_checknewpos (_point pos, int d)
{
_point m;