Skip to content

Commit

Permalink
crrcsim: build with gcc6
Browse files Browse the repository at this point in the history
(cherry picked from commit 6bc775c)
  • Loading branch information
Samuel Leathers authored and Mic92 committed Sep 1, 2017
1 parent 39099cd commit 37568fd
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkgs/games/crrcsim/default.nix
Expand Up @@ -14,6 +14,10 @@ stdenv.mkDerivation rec {
mesa SDL SDL_mixer plib libjpeg
];

patches = [
./gcc6.patch
];

meta = {
description = "A model-airplane flight simulator";
maintainers = with stdenv.lib.maintainers; [ raskin the-kenny ];
Expand Down
13 changes: 13 additions & 0 deletions pkgs/games/crrcsim/gcc6.patch
@@ -0,0 +1,13 @@
diff --git c/src/mod_video/crrc_animation.cpp i/src/mod_video/crrc_animation.cpp
index ee7d7f4..855b106 100644
--- c/src/mod_video/crrc_animation.cpp
+++ i/src/mod_video/crrc_animation.cpp
@@ -84,7 +84,7 @@ void createAnimation(SimpleXMLTransfer *animation, ssgEntity* model)
else
{
std::cerr << "createAnimation: unknown animation type \'"
- << type << "\'" << std::cerr;
+ << type << "\'" << std::endl;
}

if (anim != NULL)

0 comments on commit 37568fd

Please sign in to comment.