Valgrind: Fix `callgrind_annotate'.

svn path=/nixpkgs/trunk/; revision=11962
This commit is contained in:
Ludovic Courtès 2008-06-03 21:25:58 +00:00
parent ec86f5b6b4
commit c28744816a
2 changed files with 10 additions and 0 deletions

@ -0,0 +1,8 @@
--- valgrind-3.3.0/callgrind/callgrind_annotate.in 2007-12-11 00:18:11.000000000 +0100
+++ valgrind-3.3.0/callgrind/callgrind_annotate.in 2008-06-03 23:12:26.000000000 +0200
@@ -1,4 +1,4 @@
-#! /usr/bin/perl -w
+#! @PERL@ -w
##--------------------------------------------------------------------##
##--- The cache simulation framework: instrumentation, recording ---##
##--- and results printing. ---##

@ -8,6 +8,8 @@ stdenv.mkDerivation {
sha256 = "0yllx5a2f5bx18gqz74aikr27zxwpblswn65lqvm9rbzswlq5w2s";
};
patches = [ ./callgrind_annotate.patch ];
# Perl is needed for `cg_annotate'.
# GDB is needed to provide a sane default for `--db-command'.
buildInputs = [ perl gdb ];