File: pod_altavista.patch

package info (click to toggle)
libwww-search-perl 2.51.80-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,748 kB
  • sloc: perl: 10,997; sh: 127; makefile: 16
file content (27 lines) | stat: -rw-r--r-- 1,029 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Description: fix two pod errors in WWW::Search::AltaVista
 "Around line 33: Non-ASCII character seen before =encoding..."
Author: Florian Schlichting <fsfs@debian.org>
Forwarded: https://rt.cpan.org/Public/Bug/Display.html?id=89510

--- a/altavista/lib/WWW/Search/AltaVista/Intranet.pm
+++ b/altavista/lib/WWW/Search/AltaVista/Intranet.pm
@@ -31,6 +31,8 @@
 you must tell AVI how to interpret 8-bit characters.
 Add an option for 'enc' to the native_query() call:
 
+=encoding ISO8859-1
+
   $oSearch->native_query(WWW::Search::escape_query('Zrich'),
                          { 'enc' => 'iso88591'},
                         );
--- a/altavista/lib/WWW/Search/AltaVista/Intranet3.pm
+++ b/altavista/lib/WWW/Search/AltaVista/Intranet3.pm
@@ -30,6 +30,8 @@
 you must tell AVI how to interpret 8-bit characters.
 Add an option for 'enc' to the native_query() call:
 
+=encoding ISO8859-1
+
   $oSearch->native_query(WWW::Search::escape_query('Zrich'),
                          { 'enc' => 'iso88591'},
                         );