wesnoth: fix build, minor update, parallel builds

Yes, games are the most important things in nixpkgs...
not that I actually plan to play it anytime soon ;-)

+5 -4
+5 -4
pkgs/games/wesnoth/default.nix
··· 4 4 5 5 stdenv.mkDerivation rec { 6 6 pname = "wesnoth"; 7 - version = "1.10.5"; 7 + version = "1.10.7"; 8 8 9 9 name = "${pname}-${version}"; 10 10 11 11 src = fetchurl { 12 12 url = "mirror://sourceforge/sourceforge/${pname}/${name}.tar.bz2"; 13 - sha256 = "1rvlr8c3vzhgd33vzc1hfhiil6d7hc3px8r8p79vmp3kwi3d49zn"; 13 + sha256 = "0gi5fzij48hmhhqxc370jxvxig5q3d70jiz56rjn8yx514s5lfwa"; 14 14 }; 15 15 16 16 buildInputs = [ SDL SDL_image SDL_mixer SDL_net SDL_ttf pango gettext zlib boost fribidi 17 17 cmake freetype libpng pkgconfig lua dbus fontconfig libtool ]; 18 18 19 - # Make the package build with the gcc currently available in Nixpkgs. 20 - NIX_CFLAGS_COMPILE = "-Wno-ignored-qualifiers"; 19 + cmakeFlags = [ "-DENABLE_STRICT_COMPILATION=FALSE" ]; # newer gcc problems http://gna.org/bugs/?21030 20 + 21 + enableParallelBuilding = true; 21 22 22 23 meta = with stdenv.lib; { 23 24 description = "The Battle for Wesnoth, a free, turn-based strategy game with a fantasy theme";