pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/namazu textproc/namazu: fix regu...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6d120802f909
branches:  trunk
changeset: 307021:6d120802f909
user:      taca <taca%pkgsrc.org@localhost>
date:      Mon Apr 30 08:15:11 2018 +0000
description:
textproc/namazu: fix regular expression error for perl 5.26

Fix regular expression error for perl 5.26 in filter/hnf.pl.

Bump PKGREVISION.

diffstat:

 textproc/namazu/Makefile                    |   4 ++--
 textproc/namazu/distinfo                    |   3 ++-
 textproc/namazu/patches/patch-filter_hnf.pl |  15 +++++++++++++++
 3 files changed, 19 insertions(+), 3 deletions(-)

diffs (46 lines):

diff -r 05b08d8d4df8 -r 6d120802f909 textproc/namazu/Makefile
--- a/textproc/namazu/Makefile  Mon Apr 30 07:57:18 2018 +0000
+++ b/textproc/namazu/Makefile  Mon Apr 30 08:15:11 2018 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.14 2016/07/09 06:39:06 wiz Exp $
+# $NetBSD: Makefile,v 1.15 2018/04/30 08:15:11 taca Exp $
 
 DISTNAME=      namazu-2.0.21
-PKGREVISION=   6
+PKGREVISION=   7
 CATEGORIES=    japanese textproc www
 MASTER_SITES=  http://www.namazu.org/stable/
 
diff -r 05b08d8d4df8 -r 6d120802f909 textproc/namazu/distinfo
--- a/textproc/namazu/distinfo  Mon Apr 30 07:57:18 2018 +0000
+++ b/textproc/namazu/distinfo  Mon Apr 30 08:15:11 2018 +0000
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.7 2015/11/04 01:59:41 agc Exp $
+$NetBSD: distinfo,v 1.8 2018/04/30 08:15:11 taca Exp $
 
 SHA1 (namazu-2.0.21.tar.gz) = 35aaff34d0cdbe96fff24da87671b6f902bb7d43
 RMD160 (namazu-2.0.21.tar.gz) = b5ac1a114dc4730c56a46c24130899f10d37e9bb
 SHA512 (namazu-2.0.21.tar.gz) = c0ce1b8c8b8ce30ee7d28cfed790a9c8585d1b468eefe2ba4ac70976e09329ae04a3a3bbf0b86b9673cfdf206f2b103896daca2f053062f451884fa659b31ea6
 Size (namazu-2.0.21.tar.gz) = 1394048 bytes
 SHA1 (patch-ab) = 15e8b6b67885fe76932e8b749fa8ab64f6faf1d8
+SHA1 (patch-filter_hnf.pl) = 2f304b13dea37f10bf458142dc62a31f08c239a0
 SHA1 (patch-filter_mp3.pl) = 53d150e0384ee8acdd672e9d644ee1a60153c691
diff -r 05b08d8d4df8 -r 6d120802f909 textproc/namazu/patches/patch-filter_hnf.pl
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/namazu/patches/patch-filter_hnf.pl       Mon Apr 30 08:15:11 2018 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-filter_hnf.pl,v 1.1 2018/04/30 08:15:11 taca Exp $
+
+Fix regular expression error with Perl 5.26.
+
+--- filter/hnf.pl.orig 2008-05-09 07:32:14.000000000 +0000
++++ filter/hnf.pl
+@@ -244,7 +244,7 @@ sub get_uri ($$) {
+         $uri = '?%year%month%hiday#%year%month%day0'; # for hns-1.x
+       }
+       $uri =~ s/%%/\34/g;
+-      $uri =~ s/%{?([a-z]+)}?/$param{$1}/g;
++      $uri =~ s/%\{?([a-z]+)\}?/$param{$1}/g;
+       $uri =~ s/\34/%/g;
+       $uri = $hnf::diary_uri . $uri;
+       $uri =~ s/%7E/~/i;



Home | Main Index | Thread Index | Old Index