git.iko.soy/typeable/nixpkgs
on master help sign in
crrcsim: build with gcc6
commit6bc775cdf62bac2ae084f5173c91a350008dd4cd authorSamuel Leathers <sam@appliedtrust.com> dateFri 1 Sep 2017, 08:54 (9 years ago) parent86e6e80
2 files changed+17
pkgs/games/crrcsim/default.nix+4 pkgs/games/crrcsim/gcc6.patch+13
pkgs/games/crrcsim/default.nix+4
@@ -14,6 +14,10 @@ stdenv.mkDerivation rec {
1414 mesa SDL SDL_mixer plib libjpeg
1515 ];
1616
17+ patches = [
18+ ./gcc6.patch
19+ ];
20+
1721 meta = {
1822 description = "A model-airplane flight simulator";
1923 maintainers = with stdenv.lib.maintainers; [ raskin the-kenny ];
pkgs/games/crrcsim/gcc6.patchnew file+13
@@ -0,0 +1,13 @@
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)