complexity: fix build
This commit is contained in:
parent
78cb479f73
commit
b3504c7bf5
@ -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