Made pam_login build with gcc 4.4 (disabling its -Werror)
svn path=/nixpkgs/branches/stdenv-updates/; revision=19130
This commit is contained in:
parent
c0d379f69a
commit
57e123fe6c
@ -8,5 +8,11 @@ stdenv.mkDerivation {
|
|||||||
sha256 = "1w2hpwjhmwjhf8rg789xpl0hibahqlr3ccivfy3m4kgrm5gf04kv";
|
sha256 = "1w2hpwjhmwjhf8rg789xpl0hibahqlr3ccivfy3m4kgrm5gf04kv";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# To overcome a gcc 4.4 warning:
|
||||||
|
# "#ident is a deprecated GCC extension"
|
||||||
|
patchPhase = ''
|
||||||
|
sed -i s/-Werror// configure
|
||||||
|
'';
|
||||||
|
|
||||||
buildInputs = [pam];
|
buildInputs = [pam];
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user