[libdevel-nytprof-perl] 05/06: Refresh patches.

gregor herrmann gregoa at debian.org
Sun Sep 22 16:26:15 UTC 2013


This is an automated email from the git hooks/post-receive script.

gregoa pushed a commit to branch master
in repository libdevel-nytprof-perl.

commit 09d56454b2d5af09a90e97c6dd0f043d32922260
Author: gregor herrmann <gregoa at debian.org>
Date:   Sun Sep 22 18:14:49 2013 +0200

    Refresh patches.
---
 debian/patches/flamegraph.patch      |   12 ++++++------
 debian/patches/manpage-section.patch |    4 ++--
 debian/patches/usr-share.patch       |    4 ++--
 3 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/debian/patches/flamegraph.patch b/debian/patches/flamegraph.patch
index 1e90b1d..67cfa3d 100644
--- a/debian/patches/flamegraph.patch
+++ b/debian/patches/flamegraph.patch
@@ -2,18 +2,18 @@ Description: we're installing flamegraph.pl under /usr/share
  so call it from there
 Origin: vendor
 Bug-Debian: http://bugs.debian.org/718731
-Forwarded: not-needed
+Forwarded: https://github.com/timbunce/devel-nytprof/issues/13
 Author: gregor herrmann <gregoa at debian.org>
-Last-Update: 2013-08-07
+Last-Update: 2013-09-22
 
 --- a/bin/nytprofhtml
 +++ b/bin/nytprofhtml
-@@ -813,7 +813,7 @@
-             my $factor = 1_000_000 / $profile->{attribute}{ticks_per_sec};
+@@ -814,7 +814,7 @@
              # total (width) for flamegraph is profiler_active in ticks
              my $run_us = $profile->{attribute}{profiler_active} * $profile->{attribute}{ticks_per_sec};
--            my $fg_cmd = "flamegraph.pl --nametype=sub --countname=microseconds";
-+            my $fg_cmd = "/usr/share/perl5/Devel/NYTProf/flamegraph.pl --nametype=sub --countname=microseconds";
+             my $extension = $^O eq "MSWin32" ? "" : ".pl";
+-            my $fg_cmd = "flamegraph$extension --nametype=sub --countname=microseconds";
++            my $fg_cmd = "/usr/share/perl5/Devel/NYTProf/flamegraph$extension --nametype=sub --countname=microseconds";
              system("$fg_cmd --factor=$factor --nameattr=$subattr --total=$run_us $opt_out/$call_stacks_file > $opt_out/$call_stacks_svg") == 0
                  or die "Generating $opt_out/$call_stacks_svg failed\n";
  
diff --git a/debian/patches/manpage-section.patch b/debian/patches/manpage-section.patch
index e152099..5ffb8af 100644
--- a/debian/patches/manpage-section.patch
+++ b/debian/patches/manpage-section.patch
@@ -5,11 +5,11 @@ Description: Fix manpage section
 Forwarded: no
 Author: gregor herrmann <gregoa at debian.org>
 Reviewed-by: Nicholas Bamber <nicholas at periapt.co.uk>
-Last-Update: 2010-09-25
+Last-Update: 2013-09-22
 
 --- a/Makefile.PL
 +++ b/Makefile.PL
-@@ -29,11 +29,11 @@
+@@ -27,11 +27,11 @@
      @man = ( MAN1PODS => {}, MAN3PODS => {} );
  } else {
      @man = ( MAN1PODS  => {
diff --git a/debian/patches/usr-share.patch b/debian/patches/usr-share.patch
index f3f66a3..d17ca0a 100644
--- a/debian/patches/usr-share.patch
+++ b/debian/patches/usr-share.patch
@@ -5,11 +5,11 @@ Description: Patch search path so arch-indep files are found
 Forwarded: not-needed
 Author: gregor herrmann <gregoa at debian.org>
 Reviewed-by: Nicholas Bamber <nicholas at periapt.co.uk>
-Last-Update: 2010-09-25
+Last-Update: 2013-09-22
 
 --- a/bin/nytprofhtml
 +++ b/bin/nytprofhtml
-@@ -1270,6 +1270,7 @@
+@@ -1271,6 +1271,7 @@
      my ($profile) = @_;
      # find the js, gif, css etc files installed with Devel::NYTProf
      (my $lib = $INC{"Devel/NYTProf/Data.pm"}) =~ s/\/Data\.pm$//;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libdevel-nytprof-perl.git



More information about the Pkg-perl-cvs-commits mailing list