From 1bf215f2619ae499b6e022e7c3d10f76454674d9 Mon Sep 17 00:00:00 2001 From: "Yury G. Kudryashov" Date: Thu, 16 Feb 2012 17:56:14 +0000 Subject: [PATCH] warmux-11.04.1, fix build with libpng-1.5 svn path=/nixpkgs/trunk/; revision=32333 --- pkgs/games/warmux/default.nix | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/pkgs/games/warmux/default.nix b/pkgs/games/warmux/default.nix index 40072ca7dfc6..ff2ce6bb819f 100644 --- a/pkgs/games/warmux/default.nix +++ b/pkgs/games/warmux/default.nix @@ -1,4 +1,5 @@ x@{builderDefsPackage + , zlib , curl, gnutls, fribidi, libpng, SDL, SDL_gfx, SDL_image, SDL_mixer , SDL_net, SDL_ttf, libunwind, libX11, xproto, libxml2, pkgconfig , gettext, intltool, libtool, perl @@ -13,10 +14,10 @@ let (builtins.attrNames (builtins.removeAttrs x helperArgNames)); sourceInfo = rec { baseName="warmux"; - version="11.01"; + version="11.04.1"; name="${baseName}-${version}"; url="http://download.gna.org/${baseName}/${name}.tar.bz2"; - hash="1f063yaab08gflh4hnd8clb4as41ayfphi4q0cmi8syjiaap2qgh"; + hash="1vp44wdpnb1g6cddmn3nphc543pxsdhjis52mfif0p2c7qslz73q"; }; in rec { @@ -30,7 +31,9 @@ rec { /* doConfigure should be removed if not needed */ phaseNames = ["doConfigure" "doMakeInstall"]; - + + configureFlags = "CFLAGS=\"-include ${zlib}/include/zlib.h\""; + meta = { description = "Ballistics turn-based battle game between teams"; maintainers = with a.lib.maintainers;