summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorrin <rin@pkgsrc.org>2021-05-11 01:26:25 +0000
committerrin <rin@pkgsrc.org>2021-05-11 01:26:25 +0000
commita49f2400098d846ff9650d736a543e5f7cb62d94 (patch)
tree7c84bf38010d6e2949553061ff44156ab69eaf9d /textproc
parent35102994d2d76df9b1d01cbc2a2e168409d871fa (diff)
downloadpkgsrc-a49f2400098d846ff9650d736a543e5f7cb62d94.tar.gz
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 (limited to 'textproc')
-rw-r--r--textproc/aspell/Makefile4
-rw-r--r--textproc/aspell/distinfo3
-rw-r--r--textproc/aspell/patches/patch-modules_filter_modes_perl.amf16
3 files changed, 20 insertions, 3 deletions
diff --git a/textproc/aspell/Makefile b/textproc/aspell/Makefile
index 340056fb319..132a3efb02f 100644
--- a/textproc/aspell/Makefile
+++ b/textproc/aspell/Makefile
@@ -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 --git a/textproc/aspell/distinfo b/textproc/aspell/distinfo
index 2a4f27a3f8a..32397b8dca1 100644
--- a/textproc/aspell/distinfo
+++ b/textproc/aspell/distinfo
@@ -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-ag) = 5aabf8d9a9a28db9dee073bdfcd62fbc3e2f38c0
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 --git a/textproc/aspell/patches/patch-modules_filter_modes_perl.amf b/textproc/aspell/patches/patch-modules_filter_modes_perl.amf
new file mode 100644
index 00000000000..d5c21048236
--- /dev/null
+++ b/textproc/aspell/patches/patch-modules_filter_modes_perl.amf
@@ -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