[libfile-scan-perl] 09/11: Add a patch to fix POD format errors.
gregor herrmann
gregoa at debian.org
Mon Jun 15 20:02:58 UTC 2015
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch master
in repository libfile-scan-perl.
commit 970c5a13593e7eb258c867ff78341fde62ae7ab8
Author: gregor herrmann <gregoa at debian.org>
Date: Mon Jun 15 21:35:57 2015 +0200
Add a patch to fix POD format errors.
---
debian/patches/pod-errors.patch | 80 +++++++++++++++++++++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 81 insertions(+)
diff --git a/debian/patches/pod-errors.patch b/debian/patches/pod-errors.patch
new file mode 100644
index 0000000..3b368e5
--- /dev/null
+++ b/debian/patches/pod-errors.patch
@@ -0,0 +1,80 @@
+Description: Fix "Expected text after =item, not a number" POD ERRORS
+ For some reasons, item lists starting with 0 throw errors since some perl releases.
+Origin: vendor
+Author: gregor herrmann <gregoa at debian.org>
+Last-Update: 2015-06-15
+Forwarded: https://rt.cpan.org/Ticket/Display.html?id=105250
+Bug: https://rt.cpan.org/Ticket/Display.html?id=105250
+
+--- a/Scan.pm
++++ b/Scan.pm
+@@ -754,27 +754,27 @@
+
+ =over 6
+
+-=item 0
++=item B<0>
+
+ file not skipped
+
+-=item 1
++=item B<1>
+
+ file is not vulnerable
+
+-=item 2
++=item B<2>
+
+ file has zero size
+
+-=item 3
++=item B<3>
+
+ the size of file is small
+
+-=item 4
++=item B<4>
+
+ the text file size is greater that the 'max_txt_size' argument
+
+-=item 5
++=item B<5>
+
+ the binary file size is greater that the 'max_bin_size' argument
+
+--- a/files/Scan.base
++++ b/files/Scan.base
+@@ -236,27 +236,27 @@
+
+ =over 6
+
+-=item 0
++=item B<0>
+
+ file not skipped
+
+-=item 1
++=item B<1>
+
+ file is not vulnerable
+
+-=item 2
++=item B<2>
+
+ file has zero size
+
+-=item 3
++=item B<3>
+
+ the size of file is small
+
+-=item 4
++=item B<4>
+
+ the text file size is greater that the 'max_txt_size' argument
+
+-=item 5
++=item B<5>
+
+ the binary file size is greater that the 'max_bin_size' argument
+
diff --git a/debian/patches/series b/debian/patches/series
index f04f2c8..d473dbc 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@
20Scan.base.patch
0001-Don-t-put-a-timestamp-in-generated-Scan.pm.patch
0002-Make-the-Scan.pm-generation-reproducible-by-sorting-.patch
+pod-errors.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libfile-scan-perl.git
More information about the Pkg-perl-cvs-commits
mailing list