forked from mirrors/nixpkgs
Merge pull request #1294 from lovek323/complexity
complexity: fix build
This commit is contained in:
commit
87aca96123
|
@ -19,6 +19,13 @@ stdenv.mkDerivation rec {
|
|||
|
||||
doCheck = true;
|
||||
|
||||
preBuild = ''
|
||||
sed -i -e '/gets is a security/d' lib/stdio.in.h
|
||||
sed -i '42 i\
|
||||
#undef false\
|
||||
#undef true' src/complexity.h
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "GNU Complexity, C code complexity measurement tool";
|
||||
|
||||
|
|
Loading…
Reference in a new issue