diff options
author | Peter Levine <plevine457@gmail.com> | 2017-07-23 02:31:56 -0400 |
---|---|---|
committer | Michael Palimaka <kensington@gentoo.org> | 2017-07-23 22:39:59 +1000 |
commit | 495a52fc2fe5740647c86062cffb28303b15c097 (patch) | |
tree | 49d583d3329e72cd686d5dd42aecc8e6295e3964 /games-simulation | |
parent | app-i18n/im-canna: fix immodules path (diff) | |
download | gentoo-495a52fc2fe5740647c86062cffb28303b15c097.tar.gz gentoo-495a52fc2fe5740647c86062cffb28303b15c097.tar.bz2 gentoo-495a52fc2fe5740647c86062cffb28303b15c097.zip |
games-simulation/crrcsim: Fix building with GCC-6
Bug: https://bugs.gentoo.org/show_bug.cgi?id=610560
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'games-simulation')
-rw-r--r-- | games-simulation/crrcsim/crrcsim-0.9.13.ebuild | 5 | ||||
-rw-r--r-- | games-simulation/crrcsim/files/crrcsim-0.9.13-gcc6.patch | 14 |
2 files changed, 18 insertions, 1 deletions
diff --git a/games-simulation/crrcsim/crrcsim-0.9.13.ebuild b/games-simulation/crrcsim/crrcsim-0.9.13.ebuild index d3b2bb8e0140..ef5b5ce752df 100644 --- a/games-simulation/crrcsim/crrcsim-0.9.13.ebuild +++ b/games-simulation/crrcsim/crrcsim-0.9.13.ebuild @@ -20,7 +20,10 @@ RDEPEND="media-libs/libsdl[X,sound,joystick,opengl,video] portaudio? ( media-libs/portaudio )" DEPEND="${RDEPEND}" -PATCHES=( "${FILESDIR}"/${P}-buildsystem.patch ) +PATCHES=( + "${FILESDIR}"/${P}-buildsystem.patch + "${FILESDIR}"/${P}-gcc6.patch +) src_prepare() { default diff --git a/games-simulation/crrcsim/files/crrcsim-0.9.13-gcc6.patch b/games-simulation/crrcsim/files/crrcsim-0.9.13-gcc6.patch new file mode 100644 index 000000000000..b11550f3dff6 --- /dev/null +++ b/games-simulation/crrcsim/files/crrcsim-0.9.13-gcc6.patch @@ -0,0 +1,14 @@ +Bug: https://bugs.gentoo.org/610560 +Upstream commit: https://sourceforge.net/p/crrcsim/code/ci/28ed9ba57011371cab8b637550acc716b973c47d + +--- a/src/mod_video/crrc_animation.cpp ++++ b/src/mod_video/crrc_animation.cpp +@@ -84,7 +84,7 @@ + else + { + std::cerr << "createAnimation: unknown animation type \'" +- << type << "\'" << std::cerr; ++ << type << "\'" << std::endl; + } + + if (anim != NULL) |