diff options
author | CoprDistGit <infra@openeuler.org> | 2024-08-05 02:47:16 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-08-05 02:47:16 +0000 |
commit | 52b82fcbd8b738879066cd674772a279a57a01c8 (patch) | |
tree | 37d9d37a21fb1d7a042d82f2f8a8a2812b62d328 /ispell-gaeilge-5.0-buildhunspell.patch | |
parent | 35b6501163b67e43b65241da9f4c42fdc7bba3a5 (diff) |
automatic import of hunspell-gaopeneuler24.03_LTS
Diffstat (limited to 'ispell-gaeilge-5.0-buildhunspell.patch')
-rw-r--r-- | ispell-gaeilge-5.0-buildhunspell.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/ispell-gaeilge-5.0-buildhunspell.patch b/ispell-gaeilge-5.0-buildhunspell.patch new file mode 100644 index 0000000..034961c --- /dev/null +++ b/ispell-gaeilge-5.0-buildhunspell.patch @@ -0,0 +1,26 @@ +diff -urN ispell-gaeilge-5.0.old/makefile ispell-gaeilge-5.0/makefile +--- ispell-gaeilge-5.0.old/makefile 2017-12-04 02:02:36.000000000 +0530 ++++ ispell-gaeilge-5.0/makefile 2018-07-08 09:16:16.483019455 +0530 +@@ -20,17 +20,15 @@ + ALTAFFIXFILE=gaeilgemor.aff + INSTALL_DATA=$(INSTALL) -m 444 + +-SORT=/usr/bin/sort -u ++SORT=sort -u + +-hashtable: $(INSTALLATION).hash +- +-all: gaeilge.hash gaeilgelit.hash gaeilgemor.hash ++all: ga_IE.dic + + # grep -v filters out Malmö, São, LC_ALL=C needed! +-gaeilge.hash: $(RAWWORDS) $(AFFIXFILE) $(PERSONAL) ++ga_IE.dic: $(RAWWORDS) $(AFFIXFILE) $(PERSONAL) + LC_ALL=C $(SORT) $(RAWWORDS) $(PERSONAL) | LC_ALL=C grep -v "[^'a-zA-ZáéíóúÁÉÍÓÚ/-]" | iconv -f UTF-8 -t iso-8859-1 > gaeilge.focail +- iconv -f UTF-8 -t iso-8859-1 $(AFFIXFILE) > tempaff.txt +- $(ISPELLBIN)/buildhash gaeilge.focail tempaff.txt gaeilge.hash ++ wc -l gaeilge.focail | cut -d ' ' -f 1 > ga_IE.dic ++ LC_ALL=C $(SORT) -f -t / --key 1,1 gaeilge.focail >> ga_IE.dic + rm -f gaeilge.focail tempaff.txt + + gaeilgelit.hash: $(RAWWORDS) $(LITWORDS) gaeilgelit.aff $(PERSONAL) |