pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/hunspell-de



Module Name:    pkgsrc
Committed By:   wiz
Date:           Thu Mar 11 07:12:01 UTC 2021

Modified Files:
        pkgsrc/textproc/hunspell-de: Makefile distinfo
Added Files:
        pkgsrc/textproc/hunspell-de/patches: patch-Makefile

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


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 pkgsrc/textproc/hunspell-de/Makefile
cvs rdiff -u -r1.14 -r1.15 pkgsrc/textproc/hunspell-de/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/textproc/hunspell-de/patches/patch-Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/textproc/hunspell-de/Makefile
diff -u pkgsrc/textproc/hunspell-de/Makefile:1.25 pkgsrc/textproc/hunspell-de/Makefile:1.26
--- pkgsrc/textproc/hunspell-de/Makefile:1.25   Mon Aug 31 18:11:42 2020
+++ pkgsrc/textproc/hunspell-de/Makefile        Thu Mar 11 07:12:01 2021
@@ -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

Index: pkgsrc/textproc/hunspell-de/distinfo
diff -u pkgsrc/textproc/hunspell-de/distinfo:1.14 pkgsrc/textproc/hunspell-de/distinfo:1.15
--- pkgsrc/textproc/hunspell-de/distinfo:1.14   Mon Dec 12 14:56:34 2016
+++ pkgsrc/textproc/hunspell-de/distinfo        Thu Mar 11 07:12:01 2021
@@ -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

Added files:

Index: pkgsrc/textproc/hunspell-de/patches/patch-Makefile
diff -u /dev/null pkgsrc/textproc/hunspell-de/patches/patch-Makefile:1.1
--- /dev/null   Thu Mar 11 07:12:02 2021
+++ pkgsrc/textproc/hunspell-de/patches/patch-Makefile  Thu Mar 11 07:12:01 2021
@@ -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