Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-action/clanbomber/files/, games-action/clanbomber/
Date: Sun, 16 Apr 2017 18:57:59
Message-Id: 1492369052.9d3eced5d6a26a6eca1fc9aa8f0ac9222128fa7e.soap@gentoo
1 commit: 9d3eced5d6a26a6eca1fc9aa8f0ac9222128fa7e
2 Author: Peter-Levine <plevine457 <AT> gmail <DOT> com>
3 AuthorDate: Wed Apr 5 06:47:06 2017 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Sun Apr 16 18:57:32 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d3eced5
7
8 games-action/clanbomber: Fix building with GCC-6 (bug #613332)
9
10 Package-Manager: Portage-2.3.5, Repoman-2.3.2
11 Closes: https://github.com/gentoo/gentoo/pull/4311
12
13 games-action/clanbomber/clanbomber-2.1.1-r1.ebuild | 1 +
14 .../clanbomber/files/clanbomber-2.1.1-gcc6.patch | 19 +++++++++++++++++++
15 2 files changed, 20 insertions(+)
16
17 diff --git a/games-action/clanbomber/clanbomber-2.1.1-r1.ebuild b/games-action/clanbomber/clanbomber-2.1.1-r1.ebuild
18 index 7fbbd88aa00..eee357249b5 100644
19 --- a/games-action/clanbomber/clanbomber-2.1.1-r1.ebuild
20 +++ b/games-action/clanbomber/clanbomber-2.1.1-r1.ebuild
21 @@ -29,6 +29,7 @@ DOCS=( AUTHORS ChangeLog ChangeLog.hg IDEAS NEWS QUOTES README TODO )
22 PATCHES=(
23 "${FILESDIR}"/${P}-automake112.patch
24 "${FILESDIR}"/${P}-boost150.patch
25 + "${FILESDIR}"/${P}-gcc6.patch
26 )
27
28 src_prepare() {
29
30 diff --git a/games-action/clanbomber/files/clanbomber-2.1.1-gcc6.patch b/games-action/clanbomber/files/clanbomber-2.1.1-gcc6.patch
31 new file mode 100644
32 index 00000000000..714e9de85fa
33 --- /dev/null
34 +++ b/games-action/clanbomber/files/clanbomber-2.1.1-gcc6.patch
35 @@ -0,0 +1,19 @@
36 +--- a/src/Credits.h
37 ++++ b/src/Credits.h
38 +@@ -47,7 +47,7 @@
39 + int speed;
40 + bool stopped;
41 + private:
42 +- static const float yoffset_start = 50;
43 ++ static const float yoffset_start;
44 + static const int normal_speed = 40;
45 + static const int text_height = 40;
46 +
47 +--- a/src/Credits.cpp
48 ++++ b/src/Credits.cpp
49 +@@ -273,3 +273,5 @@
50 + (*draw_list_iter)->show();
51 + }
52 + }
53 ++
54 ++const float Credits::yoffset_start = 50;