mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
games-action/clanbomber: Fix building with GCC-6 (bug #613332)
Package-Manager: Portage-2.3.5, Repoman-2.3.2 Closes: https://github.com/gentoo/gentoo/pull/4311
This commit is contained in:
committed by
David Seifert
parent
d760f1ee40
commit
9d3eced5d6
@@ -29,6 +29,7 @@ DOCS=( AUTHORS ChangeLog ChangeLog.hg IDEAS NEWS QUOTES README TODO )
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-automake112.patch
|
||||
"${FILESDIR}"/${P}-boost150.patch
|
||||
"${FILESDIR}"/${P}-gcc6.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
|
||||
19
games-action/clanbomber/files/clanbomber-2.1.1-gcc6.patch
Normal file
19
games-action/clanbomber/files/clanbomber-2.1.1-gcc6.patch
Normal file
@@ -0,0 +1,19 @@
|
||||
--- a/src/Credits.h
|
||||
+++ b/src/Credits.h
|
||||
@@ -47,7 +47,7 @@
|
||||
int speed;
|
||||
bool stopped;
|
||||
private:
|
||||
- static const float yoffset_start = 50;
|
||||
+ static const float yoffset_start;
|
||||
static const int normal_speed = 40;
|
||||
static const int text_height = 40;
|
||||
|
||||
--- a/src/Credits.cpp
|
||||
+++ b/src/Credits.cpp
|
||||
@@ -273,3 +273,5 @@
|
||||
(*draw_list_iter)->show();
|
||||
}
|
||||
}
|
||||
+
|
||||
+const float Credits::yoffset_start = 50;
|
||||
Reference in New Issue
Block a user