aboutsummaryrefslogtreecommitdiffstats
path: root/korean/hunspell/files
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2018-10-23 04:08:54 +0800
committerThierry Thomas <thierry@FreeBSD.org>2018-10-23 04:08:54 +0800
commit9daefa8d15d303651e4b882b53fb1001c3b1f614 (patch)
treec781ce2ac7432fb24e67ccf5ce7008e54086d3f8 /korean/hunspell/files
parenteea0292045c58a020687b41fb1fcb3ca8e290e13 (diff)
downloadfreebsd-ports-gnome-9daefa8d15d303651e4b882b53fb1001c3b1f614.tar.gz
freebsd-ports-gnome-9daefa8d15d303651e4b882b53fb1001c3b1f614.tar.zst
freebsd-ports-gnome-9daefa8d15d303651e4b882b53fb1001c3b1f614.zip
Upgrade to 0.7.1.
Approved by: maintainer time-out
Diffstat (limited to 'korean/hunspell/files')
-rw-r--r--korean/hunspell/files/patch-Makefile21
-rw-r--r--korean/hunspell/files/patch-tests_runtest.py10
2 files changed, 26 insertions, 5 deletions
diff --git a/korean/hunspell/files/patch-Makefile b/korean/hunspell/files/patch-Makefile
new file mode 100644
index 000000000000..35c715dba4d4
--- /dev/null
+++ b/korean/hunspell/files/patch-Makefile
@@ -0,0 +1,21 @@
+--- Makefile.orig 2017-12-25 07:30:13 UTC
++++ Makefile
+@@ -1,8 +1,8 @@
+ PYTHON := python3
+ ZIP := zip -r
+
+-AFFIX := ko.aff
+-DICT := ko.dic
++AFFIX := ko_KR.aff
++DICT := ko_KR.dic
+
+ CLEANFILES := $(AFFIX) $(DICT)
+
+@@ -43,6 +43,6 @@ dist:: distdir $(BIN_DISTCONTENT)
+ rm -rf $(BIN_DISTNAME)
+
+ test:
+- $(MAKE) -C tests test
++ $(GMAKE) -C tests test
+
+ .PHONY: all clean dist distdir test
diff --git a/korean/hunspell/files/patch-tests_runtest.py b/korean/hunspell/files/patch-tests_runtest.py
index 8855277d4fa7..8cab228c6e03 100644
--- a/korean/hunspell/files/patch-tests_runtest.py
+++ b/korean/hunspell/files/patch-tests_runtest.py
@@ -1,11 +1,11 @@
---- tests/runtest.py.orig 2012-10-06 23:29:32 UTC
+--- tests/runtest.py.orig 2017-12-25 07:30:13 UTC
+++ tests/runtest.py
-@@ -19,7 +19,7 @@ def main():
+@@ -27,7 +27,7 @@ def main():
hunspell_cmd = './hunspell'
else:
hunspell_cmd = 'hunspell'
-- hunspell = subprocess.Popen([hunspell_cmd, '-i', 'UTF-8', '-a', '-d', '../ko'],
-+ hunspell = subprocess.Popen([hunspell_cmd, '-i', 'UTF-8', '-a', '-d', '../ko_KR'],
+- args = [hunspell_cmd, '-i', 'UTF-8', '-d', '../ko']
++ args = [hunspell_cmd, '-i', 'UTF-8', '-d', '../ko_KR']
+ hunspell = subprocess.Popen(args,
stdin=subprocess.PIPE, stdout=subprocess.PIPE)
hunspell.stdout.readline() # the first line "Hunspell 1.2.8 ..."
- lineno = 0