summaryrefslogtreecommitdiff
path: root/hunspell-wa-0.4.15-buildfix.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-08-05 03:14:02 +0000
committerCoprDistGit <infra@openeuler.org>2024-08-05 03:14:02 +0000
commit32f946847bf2f0fc34ec5a3c925d2c46bf3aead3 (patch)
treee3eae39477ba73784cbd705f69b161a87f199fdc /hunspell-wa-0.4.15-buildfix.patch
parentd6d5e5e5ad2800fa082f55c35cb0715f2ad1c259 (diff)
automatic import of hunspell-waopeneuler24.03_LTS
Diffstat (limited to 'hunspell-wa-0.4.15-buildfix.patch')
-rw-r--r--hunspell-wa-0.4.15-buildfix.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/hunspell-wa-0.4.15-buildfix.patch b/hunspell-wa-0.4.15-buildfix.patch
new file mode 100644
index 0000000..4238535
--- /dev/null
+++ b/hunspell-wa-0.4.15-buildfix.patch
@@ -0,0 +1,20 @@
+--- aspell-wa-0.4.15.orig/Makefile 2008-09-20 16:46:39.000000000 +0100
++++ aspell-wa-0.4.15/Makefile 2008-09-20 17:00:02.000000000 +0100
+@@ -27,7 +27,7 @@
+ buildhash dj.lst walon.aff dj.hash
+
+ walon_lst:
+- if [ ! -r walon.lst -o -n "`find mots* -type f -newer walon.lst`" ] ; \
++ if [ ! -r walon.lst -o -n "`find mots* -type f -newer walon.lst > /dev/null 2>&1`" ] ; \
+ then \
+ grep -v '^#' mots*/* ${EXTRA} |cut -d: -f2- |cut -d' ' -f1|\
+ tr ' ' '\n'|(LC_ALL=C sort -u) | grep -v '^$$' > walon.lst ; \
+@@ -119,7 +119,7 @@
+ aspell --local-data-dir=. --lang=wa@ni create master ./wa@ni.rws < wa.lst
+
+ myspell: walon_lst
+- wc -l walon.lst > wa.dic
++ cat walon.lst | wc -l > wa.dic
+ cat walon.lst >> wa.dic
+ # myspell is unable to handle comments and tabs :-(
+ grep -v '^#' wa_affix.dat | sed 's/ / /g' > wa.aff