summary refs log tree commit diff
path: root/pkgs/games/wesnoth
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2013-08-27 12:06:47 +0200
committerVladimír Čunát <vcunat@gmail.com>2013-08-27 12:08:35 +0200
commit991a61702567e4c621a4db7a67f787cbed9acd93 (patch)
treefea3a06c4eb6ecc8a347b3b1585759f6d03f024a /pkgs/games/wesnoth
parentb0688a69fe53a3f785cdeb0af781ea27296e3690 (diff)
downloadnixpkgs-991a61702567e4c621a4db7a67f787cbed9acd93.tar
nixpkgs-991a61702567e4c621a4db7a67f787cbed9acd93.tar.gz
nixpkgs-991a61702567e4c621a4db7a67f787cbed9acd93.tar.bz2
nixpkgs-991a61702567e4c621a4db7a67f787cbed9acd93.tar.lz
nixpkgs-991a61702567e4c621a4db7a67f787cbed9acd93.tar.xz
nixpkgs-991a61702567e4c621a4db7a67f787cbed9acd93.tar.zst
nixpkgs-991a61702567e4c621a4db7a67f787cbed9acd93.zip
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 ;-)
Diffstat (limited to 'pkgs/games/wesnoth')
-rw-r--r--pkgs/games/wesnoth/default.nix9
1 files changed, 5 insertions, 4 deletions
diff --git a/pkgs/games/wesnoth/default.nix b/pkgs/games/wesnoth/default.nix
index b8e53b0cefb..f279127b62b 100644
--- a/pkgs/games/wesnoth/default.nix
+++ b/pkgs/games/wesnoth/default.nix
@@ -4,20 +4,21 @@
 
 stdenv.mkDerivation rec {
   pname = "wesnoth";
-  version = "1.10.5";
+  version = "1.10.7";
 
   name = "${pname}-${version}";
 
   src = fetchurl {
     url = "mirror://sourceforge/sourceforge/${pname}/${name}.tar.bz2";
-    sha256 = "1rvlr8c3vzhgd33vzc1hfhiil6d7hc3px8r8p79vmp3kwi3d49zn";
+    sha256 = "0gi5fzij48hmhhqxc370jxvxig5q3d70jiz56rjn8yx514s5lfwa";
   };
 
   buildInputs = [ SDL SDL_image SDL_mixer SDL_net SDL_ttf pango gettext zlib boost fribidi
                   cmake freetype libpng pkgconfig lua dbus fontconfig libtool ];
 
-  # Make the package build with the gcc currently available in Nixpkgs.
-  NIX_CFLAGS_COMPILE = "-Wno-ignored-qualifiers";
+  cmakeFlags = [ "-DENABLE_STRICT_COMPILATION=FALSE" ]; # newer gcc problems http://gna.org/bugs/?21030
+
+  enableParallelBuilding = true;
 
   meta = with stdenv.lib; {
     description = "The Battle for Wesnoth, a free, turn-based strategy game with a fantasy theme";