[libdevel-nytprof-perl] 04/14: Refresh usr-share.patch.
gregor herrmann
gregoa at debian.org
Mon Jun 8 18:05:45 UTC 2015
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 92d5c3d68b4522a2d35f672d5ef42c17cec8c7fe
Author: gregor herrmann <gregoa at debian.org>
Date: Mon Jun 8 19:26:01 2015 +0200
Refresh usr-share.patch.
---
debian/patches/usr-share.patch | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/debian/patches/usr-share.patch b/debian/patches/usr-share.patch
index d17ca0a..74786f6 100644
--- a/debian/patches/usr-share.patch
+++ b/debian/patches/usr-share.patch
@@ -1,19 +1,19 @@
Description: Patch search path so arch-indep files are found
- On Debian, all of the js, gif, css etc files are installed in /usr/share/perl5
- rather than /usr/lib/perl5. They are not in the library directory as
- Devel::NYTProf::Data expects
+ On Debian, all of the js, gif, css etc files are installed in
+ /usr/share/perl5 rather than /usr/lib/<triplet>.... They are not in the
+ library directory as Devel::NYTProf::Data expects.
Forwarded: not-needed
Author: gregor herrmann <gregoa at debian.org>
Reviewed-by: Nicholas Bamber <nicholas at periapt.co.uk>
-Last-Update: 2013-09-22
+Last-Update: 2015-05-08
--- a/bin/nytprofhtml
+++ b/bin/nytprofhtml
-@@ -1271,6 +1271,7 @@
+@@ -1286,6 +1286,7 @@
my ($profile) = @_;
# find the js, gif, css etc files installed with Devel::NYTProf
(my $lib = $INC{"Devel/NYTProf/Data.pm"}) =~ s/\/Data\.pm$//;
-+ $lib =~ s{usr/lib/perl5}{usr/share/perl5};
++ $lib = '/usr/share/perl5/Devel/NYTProf';
_copy_dir("$lib/js", "$opt_out/js");
}
--
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