diff options
author | John D Jones III | 2016-04-18 17:13:05 -0600 |
---|---|---|
committer | John D Jones III | 2016-04-18 17:13:05 -0600 |
commit | 83d92cab6dfb65181e9d273921ccacabfe054def (patch) | |
tree | 40c7a715b8ffbe62da81fc7ffc9f6d175a03362e /HTML-StripScripts-1.05-Fix-typo-in-regex.patch | |
parent | 5e13c3a94321a9a37ca1caed9b78fb0610917b4f (diff) | |
download | aur-perl-html-stripscripts.tar.gz |
Add patch to make this compile
Diffstat (limited to 'HTML-StripScripts-1.05-Fix-typo-in-regex.patch')
-rw-r--r-- | HTML-StripScripts-1.05-Fix-typo-in-regex.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/HTML-StripScripts-1.05-Fix-typo-in-regex.patch b/HTML-StripScripts-1.05-Fix-typo-in-regex.patch new file mode 100644 index 000000000000..a2c4463599b3 --- /dev/null +++ b/HTML-StripScripts-1.05-Fix-typo-in-regex.patch @@ -0,0 +1,12 @@ +diff -up HTML-StripScripts-1.05/StripScripts.pm.orig HTML-StripScripts-1.05/StripScripts.pm +--- HTML-StripScripts-1.05/StripScripts.pm.orig 2015-05-05 09:12:33.495920443 +0200 ++++ HTML-StripScripts-1.05/StripScripts.pm 2015-05-05 09:53:33.099908066 +0200 +@@ -1630,7 +1630,7 @@ size or length. + + 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; + } |