* lcov 1.7.

svn path=/nixpkgs/trunk/; revision=16888
This commit is contained in:
Eelco Dolstra 2009-08-28 14:11:09 +00:00
parent 3a993e2f8e
commit 024c82ee04
3 changed files with 4 additions and 27 deletions

View file

@ -1,7 +0,0 @@
source $stdenv/setup
preInstall() {
}
genericBuild

View file

@ -1,18 +1,13 @@
{stdenv, fetchurl, perl}:
stdenv.mkDerivation {
name = "lcov-1.6";
stdenv.mkDerivation rec {
name = "lcov-1.7";
src = fetchurl {
url = mirror://sourceforge/ltp/lcov-1.6.tar.gz;
sha256 = "0d6lb0vlj3lvqmm678jic9h25q4dnlkbv37wg5yj311hdr9ls1kx";
url = "mirror://sourceforge/ltp/${name}.tar.gz";
sha256 = "1cx3haizs0rw6wjsn486qcn50f3qpybflkkb1780cg6s8jzcwdin";
};
patches = [
# http://ltp.cvs.sourceforge.net/ltp/utils/analysis/lcov/bin/geninfo?revision=1.33&view=markup&pathrev=HEAD
./string.patch
];
preBuild = ''
makeFlagsArray=(PREFIX=$out BIN_DIR=$out/bin MAN_DIR=$out/share/man)
'';
@ -31,5 +26,4 @@ stdenv.mkDerivation {
description = "A code coverage tool for Linux";
homepage = http://ltp.sourceforge.net/coverage/lcov.php;
};
}

View file

@ -1,10 +0,0 @@
--- a/bin/geninfo 2007/10/04 08:18:07 1.32
+++ b/bin/geninfo 2007/11/01 16:29:39 1.33
@@ -1478,6 +1478,7 @@
}
next;
}
+ last if ($length == 0);
($blocks, $string) =
read_gcno_string(*INPUT, $endianness);
if (defined($string))