diff options
Diffstat (limited to 'meta/recipes-devtools/perl/perl-5.14.3/debian/find_html2text.diff')
-rw-r--r-- | meta/recipes-devtools/perl/perl-5.14.3/debian/find_html2text.diff | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/meta/recipes-devtools/perl/perl-5.14.3/debian/find_html2text.diff b/meta/recipes-devtools/perl/perl-5.14.3/debian/find_html2text.diff new file mode 100644 index 0000000000..29dc576c1c --- /dev/null +++ b/meta/recipes-devtools/perl/perl-5.14.3/debian/find_html2text.diff | |||
@@ -0,0 +1,36 @@ | |||
1 | Upstream-Status:Inappropriate [debian patches] | ||
2 | From ca66b95be369b47a6d372c3653be57cd737f7f21 Mon Sep 17 00:00:00 2001 | ||
3 | From: Andreas Marschke <andreas.marschke@googlemail.com> | ||
4 | Date: Sat, 17 Sep 2011 11:38:42 +0100 | ||
5 | Subject: Configure CPAN::Distribution with correct name of html2text | ||
6 | |||
7 | Bug-Debian: http://bugs.debian.org/640479 | ||
8 | Patch-Name: debian/find_html2text.diff | ||
9 | |||
10 | If you use cpan from Debian you usually wind up trying to read online | ||
11 | documentation through it. Unfortunately cpan can't find the | ||
12 | html2text.pl script even though it is installed using the Debian | ||
13 | package 'html2text'. | ||
14 | |||
15 | Please see the attached patch for a quick fix of this issue. | ||
16 | |||
17 | [Maintainer's note: html2text in Debian is not the same implementation | ||
18 | as the html2text.pl which is expected, but should provide similar | ||
19 | functionality]. | ||
20 | --- | ||
21 | cpan/CPAN/lib/CPAN/Distribution.pm | 2 +- | ||
22 | 1 files changed, 1 insertions(+), 1 deletions(-) | ||
23 | |||
24 | diff --git a/cpan/CPAN/lib/CPAN/Distribution.pm b/cpan/CPAN/lib/CPAN/Distribution.pm | ||
25 | index 637ab27..a8193d9 100644 | ||
26 | --- a/cpan/CPAN/lib/CPAN/Distribution.pm | ||
27 | +++ b/cpan/CPAN/lib/CPAN/Distribution.pm | ||
28 | @@ -3715,7 +3715,7 @@ sub _display_url { | ||
29 | if $CPAN::DEBUG; | ||
30 | |||
31 | # should we define it in the config instead? | ||
32 | - my $html_converter = "html2text.pl"; | ||
33 | + my $html_converter = "html2text"; | ||
34 | |||
35 | my $web_browser = $CPAN::Config->{'lynx'} || undef; | ||
36 | my $web_browser_out = $web_browser | ||