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/<triplet>.... They are not in the
 library directory as Devel::NYTProf::Data expects.
Forwarded: not-needed
Author: gregor herrmann <gregoa@debian.org>
Reviewed-by: Nicholas Bamber <nicholas@periapt.co.uk>
Last-Update: 2018-04-01

--- a/bin/nytprofhtml
+++ b/bin/nytprofhtml
@@ -1296,6 +1296,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 = '/usr/share/perl5/Devel/NYTProf';
     _copy_dir("$lib/js", "$opt_out/js");
 }
 
