[libdevice-serialport-perl] 06/08: Add a patch to fix spelling/syntax errors in the POD.

gregor herrmann gregoa at debian.org
Fri Feb 21 18:48:51 UTC 2014


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

gregoa pushed a commit to branch master
in repository libdevice-serialport-perl.

commit e4530cbfc9935788c327b176bdc8bc9f38d64571
Author: gregor herrmann <gregoa at debian.org>
Date:   Fri Feb 21 19:47:03 2014 +0100

    Add a patch to fix spelling/syntax errors in the POD.
---
 debian/patches/pod.patch | 60 ++++++++++++++++++++++++++++++++++++++++++++++++
 debian/patches/series    |  1 +
 2 files changed, 61 insertions(+)

diff --git a/debian/patches/pod.patch b/debian/patches/pod.patch
new file mode 100644
index 0000000..bc1c93b
--- /dev/null
+++ b/debian/patches/pod.patch
@@ -0,0 +1,60 @@
+Description: fix spelling and pod syntax errors
+Origin: vendor
+Bug: https://rt.cpan.org/Ticket/Display.html?id=93235
+Forwarded: https://rt.cpan.org/Ticket/Display.html?id=93235
+Author: gregor herrmann <gregoa at debian.org>
+Last-Update: 2014-02-21
+
+--- a/SerialPort.pm
++++ b/SerialPort.pm
+@@ -2644,12 +2644,12 @@
+ time in Device::SerialPort, you should always use B<sysread> with the
+ tied interface (when it is implemented).
+ 
+-=over 8
+-
+ Certain parameters I<SHOULD> be set before executing B<write_settings>.
+ Others will attempt to deduce defaults from the hardware or from other
+ parameters. The I<Required> parameters are:
+ 
++=over 8
++
+ =item baudrate
+ 
+ Any legal value.
+@@ -2734,8 +2734,6 @@
+ function. It matches a corresponding method in I<Win32::CommPort>.
+ It returns time in milliseconds - but can be used in cross-platform scripts.
+ 
+-=over 8
+-
+ Binary selections will accept as I<true> any of the following:
+ C<("YES", "Y", "ON", "TRUE", "T", "1", 1)> (upper/lower/mixed case)
+ Anything else is I<false>.
+@@ -2744,6 +2742,8 @@
+ To facilitate checking option validity in scripts, most configuration
+ methods can be used in two different ways:
+ 
++=over 8
++
+ =item method called with an argument
+ 
+ The parameter is set to the argument, if valid. An invalid argument
+@@ -2856,7 +2856,7 @@
+ (or discard) input until a specific pattern is detected. For lines, the
+ pattern is a line-termination. But there are also requirements to search
+ for other strings in the input such as "username:" and "password:". The
+-B<lookfor> method provides a consistant mechanism for solving this problem.
++B<lookfor> method provides a consistent mechanism for solving this problem.
+ It searches input character-by-character looking for a match to any of the
+ elements of an array set using the B<are_match> method. It returns the
+ entire input up to the match pattern if a match is found. If no match
+@@ -2870,7 +2870,7 @@
+ command-line response. The actual match and the characters after it (if
+ any) may also be viewed using the B<lastlook> method. It also adopts the
+ convention from Expect.pm that match strings are literal text (tested using
+-B<index>) unless preceeded in the B<are_match> list by a B<"-re",> entry.
++B<index>) unless preceded in the B<are_match> list by a B<"-re",> entry.
+ The default B<are_match> list is C<("\n")>, which matches complete lines.
+ 
+    my ($match, $after, $pattern, $instead) = $PortObj->lastlook;
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..c9352c4
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+pod.patch

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



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