mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-16 18:37:04 +03:00
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 New Issue
Block a user