pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/aspell aspell: Fix for recent regex(3) update...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8a83c3ffd2f1
branches:  trunk
changeset: 452456:8a83c3ffd2f1
user:      rin <rin%pkgsrc.org@localhost>
date:      Tue May 11 01:26:25 2021 +0000

description:
aspell: Fix for recent regex(3) update for NetBSD. Bump revision.

Stop using GNU regex(3) extension \w.

XXX
Alternatively, should we build lang/perl5 with REG_GNU?

diffstat:

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

diffs (49 lines):

diff -r c438fc9f8763 -r 8a83c3ffd2f1 textproc/aspell/Makefile
--- a/textproc/aspell/Makefile  Tue May 11 00:35:59 2021 +0000
+++ b/textproc/aspell/Makefile  Tue May 11 01:26:25 2021 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.76 2020/08/31 18:11:40 wiz Exp $
+# $NetBSD: Makefile,v 1.77 2021/05/11 01:26:25 rin Exp $
 
 DISTNAME=              aspell-0.60.8
-PKGREVISION=           1
+PKGREVISION=           2
 CATEGORIES=            textproc
 MASTER_SITES=          ${MASTER_SITE_GNU:=aspell/}
 
diff -r c438fc9f8763 -r 8a83c3ffd2f1 textproc/aspell/distinfo
--- a/textproc/aspell/distinfo  Tue May 11 00:35:59 2021 +0000
+++ b/textproc/aspell/distinfo  Tue May 11 01:26:25 2021 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.31 2019/10/19 10:43:28 nia Exp $
+$NetBSD: distinfo,v 1.32 2021/05/11 01:26:25 rin Exp $
 
 SHA1 (aspell-0.60.8.tar.gz) = ae554df297aee676b4d16f261fa5c60e285478f6
 RMD160 (aspell-0.60.8.tar.gz) = 331a10149aa4efe9b6798137d6a56a0a44fcf570
@@ -13,5 +13,6 @@
 SHA1 (patch-ai) = 4fbb25e3f09aa97bdcb12f325ef615e5a6f9f626
 SHA1 (patch-an) = 687cf83ad9be083da0a53e7a7b5cbaefe88f63a5
 SHA1 (patch-interfaces_cc_aspell.h) = f824d0bb1e3c55faaf6ecae10b44169d91b41517
+SHA1 (patch-modules_filter_modes_perl.amf) = b41aec9fcd8f9d4aef3e69622425c243279687eb
 SHA1 (patch-prog_aspell.cpp) = 9bc6537cd0b9040fef56be202f0c5f6ab64fdf85
 SHA1 (patch-prog_checker__string.hpp) = b070e776a0998f17e4ff30cd004179585f70f3df
diff -r c438fc9f8763 -r 8a83c3ffd2f1 textproc/aspell/patches/patch-modules_filter_modes_perl.amf
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/aspell/patches/patch-modules_filter_modes_perl.amf       Tue May 11 01:26:25 2021 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-modules_filter_modes_perl.amf,v 1.1 2021/05/11 01:26:25 rin Exp $
+
+Fix for regex(3) update for NetBSD 9.99;
+Stop using GNU regex(3) extension \w.
+
+--- modules/filter/modes/perl.amf.orig 2021-05-11 10:16:54.496163627 +0900
++++ modules/filter/modes/perl.amf      2021-05-11 10:17:11.072694968 +0900
+@@ -2,7 +2,7 @@
+ 
+ ASPELL >=0.60.1
+ 
+-MAGIC /0:256:^[ \t]*\#!((\/\w*)+)\/perl/pl/pm
++MAGIC /0:256:^[ \t]*\#!((\/[[:alnum:]_]*)+)\/perl/pl/pm
+ MAGIC /<noregex>/pl/pm
+ 
+ DESCRIPTION mode for checking Perl comments and string literals



Home | Main Index | Thread Index | Old Index