pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/gtexinfo gtexinfo: silence p5 deprecation warning



details:   https://anonhg.NetBSD.org/pkgsrc/rev/aa365167f868
branches:  trunk
changeset: 384640:aa365167f868
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Thu Aug 30 11:03:34 2018 +0000

description:
gtexinfo: silence p5 deprecation warning

diffstat:

 devel/gtexinfo/Makefile                           |   4 ++--
 devel/gtexinfo/distinfo                           |   3 ++-
 devel/gtexinfo/patches/patch-tp_Texinfo_Parser.pm |  20 ++++++++++++++++++++
 3 files changed, 24 insertions(+), 3 deletions(-)

diffs (53 lines):

diff -r f27a07e9a8ff -r aa365167f868 devel/gtexinfo/Makefile
--- a/devel/gtexinfo/Makefile   Thu Aug 30 11:01:35 2018 +0000
+++ b/devel/gtexinfo/Makefile   Thu Aug 30 11:03:34 2018 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.98 2018/08/22 09:43:31 wiz Exp $
+# $NetBSD: Makefile,v 1.99 2018/08/30 11:03:34 tnn Exp $
 
 DISTNAME=              texinfo-6.5
 PKGNAME=               g${DISTNAME}
-PKGREVISION=           1
+PKGREVISION=           2
 CATEGORIES=            devel sysutils
 MASTER_SITES=          ${MASTER_SITE_GNU:=texinfo/}
 
diff -r f27a07e9a8ff -r aa365167f868 devel/gtexinfo/distinfo
--- a/devel/gtexinfo/distinfo   Thu Aug 30 11:01:35 2018 +0000
+++ b/devel/gtexinfo/distinfo   Thu Aug 30 11:03:34 2018 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.52 2017/09/29 21:03:45 wiz Exp $
+$NetBSD: distinfo,v 1.53 2018/08/30 11:03:34 tnn Exp $
 
 SHA1 (texinfo-6.5.tar.gz) = 0f8e69781e28ec102b6a9487b093c440f5bb8545
 RMD160 (texinfo-6.5.tar.gz) = cfa624ad3572c21d201bb4c734aae19cd8785e88
@@ -12,4 +12,5 @@
 SHA1 (patch-tp_Texinfo_Convert_XSParagraph_Makefile.in) = cdb6c78c2c15d3f8ee5755625694c11ecd9004e9
 SHA1 (patch-tp_Texinfo_Convert_XSParagraph_configure) = d4557bae4417cd42297bceaa76478b00b3875df3
 SHA1 (patch-tp_Texinfo_MiscXS_Makefile.in) = fdf3a4d6f81bdeb03cbf156b77a1510e2f6baf9e
+SHA1 (patch-tp_Texinfo_Parser.pm) = d3e4ed3ab0fca4a9d017ee65608ea66ee85b28ac
 SHA1 (patch-util_texi2dvi) = c894eb109ef3faa7ed1cb544556ca6a97af439e9
diff -r f27a07e9a8ff -r aa365167f868 devel/gtexinfo/patches/patch-tp_Texinfo_Parser.pm
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/gtexinfo/patches/patch-tp_Texinfo_Parser.pm Thu Aug 30 11:03:34 2018 +0000
@@ -0,0 +1,20 @@
+$NetBSD: patch-tp_Texinfo_Parser.pm,v 1.1 2018/08/30 11:03:35 tnn Exp $
+
+Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.32)
+
+--- tp/Texinfo/Parser.pm.orig  2017-09-12 18:49:03.000000000 +0000
++++ tp/Texinfo/Parser.pm
+@@ -5478,11 +5478,11 @@ sub _parse_special_misc_command($$$$)
+     }
+   } elsif ($command eq 'clickstyle') {
+     # REMACRO
+-    if ($line =~ /^\s+@([[:alnum:]][[:alnum:]\-]*)({})?\s*/) {
++    if ($line =~ /^\s+@([[:alnum:]][[:alnum:]\-]*)(\{\})?\s*/) {
+       $args = ['@'.$1];
+       $self->{'clickstyle'} = $1;
+       $remaining = $line;
+-      $remaining =~ s/^\s+@([[:alnum:]][[:alnum:]\-]*)({})?\s*(\@(c|comment)((\@|\s+).*)?)?//;
++      $remaining =~ s/^\s+@([[:alnum:]][[:alnum:]\-]*)(\{\})?\s*(\@(c|comment)((\@|\s+).*)?)?//;
+       $has_comment = 1 if (defined($4));
+     } else {
+       $self->line_error (sprintf($self->__(



Home | Main Index | Thread Index | Old Index