complexity: fix build

This commit is contained in:
Jason "Don" O'Conal 2013-11-28 23:52:49 +00:00
parent 78cb479f73
commit b3504c7bf5

View File

@ -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";