crrcsim: build with gcc6

+17
+4
pkgs/games/crrcsim/default.nix
··· 14 14 mesa SDL SDL_mixer plib libjpeg 15 15 ]; 16 16 17 + patches = [ 18 + ./gcc6.patch 19 + ]; 20 + 17 21 meta = { 18 22 description = "A model-airplane flight simulator"; 19 23 maintainers = with stdenv.lib.maintainers; [ raskin the-kenny ];
+13
pkgs/games/crrcsim/gcc6.patch
··· 1 + diff --git c/src/mod_video/crrc_animation.cpp i/src/mod_video/crrc_animation.cpp 2 + index ee7d7f4..855b106 100644 3 + --- c/src/mod_video/crrc_animation.cpp 4 + +++ i/src/mod_video/crrc_animation.cpp 5 + @@ -84,7 +84,7 @@ void createAnimation(SimpleXMLTransfer *animation, ssgEntity* model) 6 + else 7 + { 8 + std::cerr << "createAnimation: unknown animation type \'" 9 + - << type << "\'" << std::cerr; 10 + + << type << "\'" << std::endl; 11 + } 12 + 13 + if (anim != NULL)