Made pam_login build with gcc 4.4 (disabling its -Werror)

svn path=/nixpkgs/branches/stdenv-updates/; revision=19130
This commit is contained in:
Lluís Batlle i Rossell 2009-12-26 11:18:59 +00:00
parent c0d379f69a
commit 57e123fe6c

View File

@ -8,5 +8,11 @@ stdenv.mkDerivation {
sha256 = "1w2hpwjhmwjhf8rg789xpl0hibahqlr3ccivfy3m4kgrm5gf04kv";
};
# To overcome a gcc 4.4 warning:
# "#ident is a deprecated GCC extension"
patchPhase = ''
sed -i s/-Werror// configure
'';
buildInputs = [pam];
}