[libtext-ngrams-perl] 07/08: Add additional patch to fix spelling error in manpage

Salvatore Bonaccorso carnil at debian.org
Sun Nov 12 20:24:36 UTC 2017


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

carnil pushed a commit to branch master
in repository libtext-ngrams-perl.

commit 21d1318e6d9a41b69e0ab288682af8c89bf0677f
Author: Salvatore Bonaccorso <carnil at debian.org>
Date:   Sun Nov 12 21:15:44 2017 +0100

    Add additional patch to fix spelling error in manpage
---
 debian/patches/series                          |  1 +
 debian/patches/spelling-error-in-manpage.patch | 36 ++++++++++++++++++++++++++
 2 files changed, 37 insertions(+)

diff --git a/debian/patches/series b/debian/patches/series
index ed7fa23..1f43fdc 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 fix-manpage-spelling
+spelling-error-in-manpage.patch
diff --git a/debian/patches/spelling-error-in-manpage.patch b/debian/patches/spelling-error-in-manpage.patch
new file mode 100644
index 0000000..93a32a0
--- /dev/null
+++ b/debian/patches/spelling-error-in-manpage.patch
@@ -0,0 +1,36 @@
+Description: Fix spelling error in manpage
+Origin: vendor
+Author: Salvatore Bonaccorso <carnil at debian.org>
+Last-Update: 2017-11-12
+Forwarded: https://rt.cpan.org/Ticket/Display.html?id=123612
+Bug: https://rt.cpan.org/Ticket/Display.html?id=123612
+
+--- a/Ngrams.pm
++++ b/Ngrams.pm
+@@ -54,7 +54,7 @@ sub new {
+     # before reading from a given stream and to be removed by
+     # ***binmode HANDLE,":pop"*** after the reading from the particular
+     # stream is done has to be a real layer (like ":encoding(utf8)"), not a
+-    # pseudo layer (like ":utf8") so that the psuedo layer ":pop" is able to
++    # pseudo layer (like ":utf8") so that the pseudo layer ":pop" is able to
+     # remove this input layer 
+       
+     $self->{inputlayer} = ':encoding(utf8)';
+@@ -766,7 +766,7 @@ $o->{inputlayer} - input layer to be put
+     before reading from a given stream and to be removed by ***binmode HANDLE,":pop"*** 
+     after the reading from the particular stream is done.
+     Has to be a real layer (like ":encoding(utf8)"), not a pseudo layer (like ":utf8")
+-    so that the psuedo layer ":pop" is able to remove this input layer 
++    so that the pseudo layer ":pop" is able to remove this input layer 
+ 
+ For example, the types character, byte, and word are defined in the
+ foolowing way:
+@@ -931,7 +931,7 @@ explanation.
+ 
+ =head1 PERFORMANCE
+ 
+-The preformance can vary a lot depending on the type of file, in
++The performance can vary a lot depending on the type of file, in
+ particular on the content entropy.  For example a file in English is
+ processed faster than a file in Chinese, due to a larger number of
+ distinct n-grams.

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



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