[libhtml-stripscripts-perl] 05/11: Add patch from CPAN RT to fix typo in regexp.

gregor herrmann gregoa at debian.org
Thu Jun 25 20:23:10 UTC 2015


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

gregoa pushed a commit to branch master
in repository libhtml-stripscripts-perl.

commit 01839071f5797369cca15dd3563f8a4a1a6b60e3
Author: gregor herrmann <gregoa at debian.org>
Date:   Thu Jun 25 22:11:30 2015 +0200

    Add patch from CPAN RT to fix typo in regexp.
    
    Closes: #789845
---
 .../0001-Typo-in-the-_hss_attval_size-regex.patch  | 22 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 2 files changed, 23 insertions(+)

diff --git a/debian/patches/0001-Typo-in-the-_hss_attval_size-regex.patch b/debian/patches/0001-Typo-in-the-_hss_attval_size-regex.patch
new file mode 100644
index 0000000..c1222c5
--- /dev/null
+++ b/debian/patches/0001-Typo-in-the-_hss_attval_size-regex.patch
@@ -0,0 +1,22 @@
+Description: fix braces
+ Subject: [PATCH] Typo in the _hss_attval_size regex
+Origin: vCPAN RT
+Bug: https://rt.cpan.org/Public/Bug/Display.html?id=98110
+Forwarded: https://rt.cpan.org/Public/Bug/Display.html?id=98110
+Bug-Debian: https://bugs.debian.org/789845
+Author: Brian Fraser <fraserbn at gmail.com>
+Reviewed-by: gregor herrmann <gregoa at debian.org>
+Last-Update: 2015-06-25
+
+
+--- a/StripScripts.pm
++++ b/StripScripts.pm
+@@ -1630,7 +1630,7 @@
+ 
+ sub _hss_attval_size {
+     $_[3]
+-        =~ /^\s*([+-]?\d{1,20}(?:\.\d{1,20)?)\s*((?:\%|\*|ex|px|pc|cm|mm|in|pt|em)?)\s*$/i
++        =~ /^\s*([+-]?\d{1,20}(?:\.\d{1,20})?)\s*((?:\%|\*|ex|px|pc|cm|mm|in|pt|em)?)\s*$/i
+         ? lc "$1$2"
+         : undef;
+ }
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..9e862d0
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-Typo-in-the-_hss_attval_size-regex.patch

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



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