Skip to content

Commit

Permalink
games-action/bomberclone: Build with gcc:5.2
Browse files Browse the repository at this point in the history
Package-Manager: portage-2.2.20.1
  • Loading branch information
atupone committed Sep 18, 2015
1 parent 0de8be3 commit 0cbcd2f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
5 changes: 3 additions & 2 deletions games-action/bomberclone/bomberclone-0.11.8.ebuild
Original file line number Diff line number Diff line change
@@ -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$

Expand All @@ -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
}

Expand Down
11 changes: 11 additions & 0 deletions games-action/bomberclone/files/bomberclone-0.11.8-gcc52.patch
Original file line number Diff line number Diff line change
@@ -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;

0 comments on commit 0cbcd2f

Please sign in to comment.