summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2019-12-19 22:24:01 +0000
committerjoerg <joerg@pkgsrc.org>2019-12-19 22:24:01 +0000
commitfac7f25a7bbce13a0702f5a1d6c93f832a00dc35 (patch)
tree0c06a96ea282886477aefcbc8ac4ed7897675d9f
parent2e2508b88464aa8fc0db57d29cc85234582d146d (diff)
downloadpkgsrc-fac7f25a7bbce13a0702f5a1d6c93f832a00dc35.tar.gz
Fix compatability with regex restrictions in current Perl. Bump
revision.
-rw-r--r--textproc/latex2html/Makefile4
-rw-r--r--textproc/latex2html/distinfo3
-rw-r--r--textproc/latex2html/patches/patch-latex2html.pin16
3 files changed, 20 insertions, 3 deletions
diff --git a/textproc/latex2html/Makefile b/textproc/latex2html/Makefile
index f86e97c5840..46c843bbe59 100644
--- a/textproc/latex2html/Makefile
+++ b/textproc/latex2html/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.50 2019/08/11 13:23:25 wiz Exp $
+# $NetBSD: Makefile,v 1.51 2019/12/19 22:24:01 joerg Exp $
DISTNAME= latex2html-2016
-PKGREVISION= 3
+PKGREVISION= 4
CATEGORIES= textproc converters
MASTER_SITES= ${MASTER_SITE_TEX_CTAN:=support/latex2html/}
diff --git a/textproc/latex2html/distinfo b/textproc/latex2html/distinfo
index e16faa5abf4..ed81e608a3e 100644
--- a/textproc/latex2html/distinfo
+++ b/textproc/latex2html/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.17 2018/08/19 18:03:29 dholland Exp $
+$NetBSD: distinfo,v 1.18 2019/12/19 22:24:01 joerg Exp $
SHA1 (latex2html-2016.tar.gz) = 667308a050a071106acc573f4b88f919bb0809c9
RMD160 (latex2html-2016.tar.gz) = 1e400a65753ee8520acf1d3c4f9356d1e58fa033
@@ -7,3 +7,4 @@ Size (latex2html-2016.tar.gz) = 1149971 bytes
SHA1 (patch-Makefile.in) = b9b94d3a0f561c67fd0f644c8632bfb540b749ec
SHA1 (patch-ab) = 53ad611dec3cd301c907b0285020272da29ab8ef
SHA1 (patch-configure) = a3b2d77020045b2b8f732f03d0d4d8045311efb9
+SHA1 (patch-latex2html.pin) = 70fda72edbca509a94c93a2acb270a37a83e113c
diff --git a/textproc/latex2html/patches/patch-latex2html.pin b/textproc/latex2html/patches/patch-latex2html.pin
new file mode 100644
index 00000000000..f6b11aaf52a
--- /dev/null
+++ b/textproc/latex2html/patches/patch-latex2html.pin
@@ -0,0 +1,16 @@
+$NetBSD: patch-latex2html.pin,v 1.1 2019/12/19 22:24:01 joerg Exp $
+
+Newer Perl complains about:
+Unescaped left brace in regex is illegal here in regex
+
+--- latex2html.pin.orig 2019-12-19 18:41:23.595437753 +0000
++++ latex2html.pin
+@@ -6507,7 +6507,7 @@ sub parse_keyvalues {
+ print "\nATTRIBS: $saved\n" if ($VERBOSITY > 6);
+
+ $saved =~ s/$percent_mark/%/g;
+- $saved =~ s/((^|[\s,=])')\\\W{(\w)}/$1$3/g
++ $saved =~ s/((^|[\s,=])')\\\W\{(\w)}/$1$3/g
+ if $is_german; #unwanted accents, from active "
+ if (@tags) {
+ foreach $tag (@tags) {