pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/hunspell-de hunspell-de: add workaround for s...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/38e74e0d399b
branches:  trunk
changeset: 448613:38e74e0d399b
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Thu Mar 11 07:12:01 2021 +0000

description:
hunspell-de: add workaround for sed(1) problem on NetBSD -current

diffstat:

 textproc/hunspell-de/Makefile               |   4 ++--
 textproc/hunspell-de/distinfo               |   3 ++-
 textproc/hunspell-de/patches/patch-Makefile |  15 +++++++++++++++
 3 files changed, 19 insertions(+), 3 deletions(-)

diffs (45 lines):

diff -r e4bdb301b036 -r 38e74e0d399b textproc/hunspell-de/Makefile
--- a/textproc/hunspell-de/Makefile     Thu Mar 11 06:33:01 2021 +0000
+++ b/textproc/hunspell-de/Makefile     Thu Mar 11 07:12:01 2021 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.25 2020/08/31 18:11:42 wiz Exp $
+# $NetBSD: Makefile,v 1.26 2021/03/11 07:12:01 wiz Exp $
 
 DISTNAME=      igerman98-20161207
 PKGNAME=       ${DISTNAME:S/igerman98/hunspell-de/}
-PKGREVISION=   3
+PKGREVISION=   4
 CATEGORIES=    textproc
 MASTER_SITES=  https://www.j3e.de/ispell/igerman98/dict/
 EXTRACT_SUFX=  .tar.bz2
diff -r e4bdb301b036 -r 38e74e0d399b textproc/hunspell-de/distinfo
--- a/textproc/hunspell-de/distinfo     Thu Mar 11 06:33:01 2021 +0000
+++ b/textproc/hunspell-de/distinfo     Thu Mar 11 07:12:01 2021 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.14 2016/12/12 14:56:34 wiz Exp $
+$NetBSD: distinfo,v 1.15 2021/03/11 07:12:01 wiz Exp $
 
 SHA1 (igerman98-20161207.tar.bz2) = 2dbbaf220db2fe95142fdc03fc7ecb26df77e456
 RMD160 (igerman98-20161207.tar.bz2) = 6c8e460d27af7930af5b457e513316410c8321a6
 SHA512 (igerman98-20161207.tar.bz2) = 62be84ac76fd2a0acc25439aa4c04339e54a1c7a2f619d76e0e01cfb53eeeca263c5cc335e315f9adeee9bab5cc392d4c473ca55cbed371c04c123d6fa2272aa
 Size (igerman98-20161207.tar.bz2) = 470207 bytes
+SHA1 (patch-Makefile) = 9d1b5c130443b7ba5c1e121996add31c5084d7c7
diff -r e4bdb301b036 -r 38e74e0d399b textproc/hunspell-de/patches/patch-Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/hunspell-de/patches/patch-Makefile       Thu Mar 11 07:12:01 2021 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-Makefile,v 1.1 2021/03/11 07:12:01 wiz Exp $
+
+NetBSD sed as of 20210311 does not support \t. Use plain tab character instead.
+
+--- Makefile.orig      2016-12-06 14:02:53.000000000 +0000
++++ Makefile
+@@ -304,7 +304,7 @@ hunspell-capmain-plus_$(1).tmp: $(AFFIX_
+       ./bin/myspellfixprefix.pl < $$@.unfiltered-list0.tmp | (test -e ./bin/conv_dict_$(1) && ./bin/conv_dict_$(1) || cat) | grep -v '^$$$$' > $$@.unfiltered-list.tmp
+       cat $$@.unfiltered-list.tmp | $(AFFIX_EXPAND_COMMAND) > $$@.unfiltered-list-expanded.tmp
+       $(SED) -f ./bin/dic2iso < $$@.unfiltered-list-expanded.tmp |$(SED) "s/qq//g" | $(NL) | $(HUNSPELL) -d hunspell/$(1)_small -L > $$@.unknown.tmp
+-      $(SED) "s/^ *\([0-9]*\)\t.*$$$$/\1/" $$@.unknown.tmp > $$@.list-unknown-lines.tmp
++      $(SED) "s/^ *\([0-9]*\) .*$$$$/\1/" $$@.unknown.tmp > $$@.list-unknown-lines.tmp
+       ./bin/extractlines.pl $$@.list-unknown-lines.tmp $$@.unfiltered-list.tmp > $$@.tmp
+       ./bin/hunspell-capmain $$@.tmp | $(SED) -f ./bin/iso2dic > $$@
+       $(RM_OR_NOT) $$@.unfiltered-list0.tmp $$@.unfiltered-list.tmp $$@.unfiltered-list-expanded.tmp $$@.unknown.tmp $$@.list-unknown-lines.tmp $$@.tmp



Home | Main Index | Thread Index | Old Index