Updating and fixing physfs, so more videogames can build.

svn path=/nixpkgs/trunk/; revision=32891
This commit is contained in:
Lluís Batlle i Rossell 2012-03-08 13:34:42 +00:00
parent 88b69df2dc
commit d2747b12e9

View file

@ -1,15 +1,19 @@
{stdenv, fetchurl, cmake}: {stdenv, fetchurl, cmake}:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "physfs-2.0.0"; name = "physfs-2.0.2";
src = fetchurl { src = fetchurl {
url = "${meta.homepage}/downloads/${name}.tar.gz"; url = "${meta.homepage}/downloads/${name}.tar.gz";
sha256 = "072hqprni4vf4ax6b659s2xxrbz0y6iziarsczawbhi69m4azpyb"; sha256 = "02dwy0vsn2dp31f15vxd3yxxr1rgy25ab7ncavyh73i290qnsadf";
}; };
buildNativeInputs = [ cmake ]; buildNativeInputs = [ cmake ];
patchPhase = ''
sed s,-Werror,, -i CMakeLists.txt
'';
meta = { meta = {
homepage = http://icculus.org/physfs/; homepage = http://icculus.org/physfs/;
description = "Library to provide abstract access to various archives"; description = "Library to provide abstract access to various archives";