Merge pull request #1294 from lovek323/complexity

complexity: fix build
This commit is contained in:
Michael Raskin 2013-11-28 21:40:17 -08:00
commit 87aca96123

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