pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/namazu Use correct regular expression to stop...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/27bc350237d6
branches:  trunk
changeset: 648480:27bc350237d6
user:      taca <taca%pkgsrc.org@localhost>
date:      Sun Mar 15 01:20:24 2015 +0000

description:
Use correct regular expression to stop warning on perl 5.20 and later.

Bump PKGREVISION.

diffstat:

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

diffs (44 lines):

diff -r 147effbe18e4 -r 27bc350237d6 textproc/namazu/Makefile
--- a/textproc/namazu/Makefile  Sun Mar 15 01:07:20 2015 +0000
+++ b/textproc/namazu/Makefile  Sun Mar 15 01:20:24 2015 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.11 2014/05/29 23:37:35 wiz Exp $
+# $NetBSD: Makefile,v 1.12 2015/03/15 01:20:24 taca Exp $
 
 DISTNAME=      namazu-2.0.21
-PKGREVISION=   3
+PKGREVISION=   4
 CATEGORIES=    japanese textproc www
 MASTER_SITES=  http://www.namazu.org/stable/
 
diff -r 147effbe18e4 -r 27bc350237d6 textproc/namazu/distinfo
--- a/textproc/namazu/distinfo  Sun Mar 15 01:07:20 2015 +0000
+++ b/textproc/namazu/distinfo  Sun Mar 15 01:20:24 2015 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.5 2011/07/24 14:31:34 mef Exp $
+$NetBSD: distinfo,v 1.6 2015/03/15 01:20:24 taca Exp $
 
 SHA1 (namazu-2.0.21.tar.gz) = 35aaff34d0cdbe96fff24da87671b6f902bb7d43
 RMD160 (namazu-2.0.21.tar.gz) = b5ac1a114dc4730c56a46c24130899f10d37e9bb
 Size (namazu-2.0.21.tar.gz) = 1394048 bytes
 SHA1 (patch-ab) = 15e8b6b67885fe76932e8b749fa8ab64f6faf1d8
+SHA1 (patch-filter_mp3.pl) = 53d150e0384ee8acdd672e9d644ee1a60153c691
diff -r 147effbe18e4 -r 27bc350237d6 textproc/namazu/patches/patch-filter_mp3.pl
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/namazu/patches/patch-filter_mp3.pl       Sun Mar 15 01:20:24 2015 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-filter_mp3.pl,v 1.1 2015/03/15 01:20:24 taca Exp $
+
+Use correct regular expression to stop warning on perl 5.20 and later.
+
+--- filter/mp3.pl.orig 2008-05-09 08:37:44.000000000 +0000
++++ filter/mp3.pl
+@@ -152,7 +152,7 @@ sub mp3_filter($$$$) {
+     mp3::get_title($$contref, $weighted_str, $fields);
+     mp3::get_author($$contref, $fields);
+     mp3::get_album($$contref, $fields);
+-    $$contref =~ s/^\w+:{1,1}?//gm;
++    $$contref =~ s/^\w+(:{1,1})?//gm;
+ 
+     return;
+ }



Home | Main Index | Thread Index | Old Index