pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/latex2html Fix compatability with regex restr...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/506fad13e16d
branches:  trunk
changeset: 345866:506fad13e16d
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Dec 19 22:24:01 2019 +0000

description:
Fix compatability with regex restrictions in current Perl. Bump
revision.

diffstat:

 textproc/latex2html/Makefile                     |   4 ++--
 textproc/latex2html/distinfo                     |   3 ++-
 textproc/latex2html/patches/patch-latex2html.pin |  16 ++++++++++++++++
 3 files changed, 20 insertions(+), 3 deletions(-)

diffs (47 lines):

diff -r 528157d1262b -r 506fad13e16d textproc/latex2html/Makefile
--- a/textproc/latex2html/Makefile      Thu Dec 19 22:23:19 2019 +0000
+++ b/textproc/latex2html/Makefile      Thu Dec 19 22:24:01 2019 +0000
@@ -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 -r 528157d1262b -r 506fad13e16d textproc/latex2html/distinfo
--- a/textproc/latex2html/distinfo      Thu Dec 19 22:23:19 2019 +0000
+++ b/textproc/latex2html/distinfo      Thu Dec 19 22:24:01 2019 +0000
@@ -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 @@
 SHA1 (patch-Makefile.in) = b9b94d3a0f561c67fd0f644c8632bfb540b749ec
 SHA1 (patch-ab) = 53ad611dec3cd301c907b0285020272da29ab8ef
 SHA1 (patch-configure) = a3b2d77020045b2b8f732f03d0d4d8045311efb9
+SHA1 (patch-latex2html.pin) = 70fda72edbca509a94c93a2acb270a37a83e113c
diff -r 528157d1262b -r 506fad13e16d textproc/latex2html/patches/patch-latex2html.pin
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/latex2html/patches/patch-latex2html.pin  Thu Dec 19 22:24:01 2019 +0000
@@ -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) {



Home | Main Index | Thread Index | Old Index