Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37737641
en ru br
ALT Linux repos
S:0.4.17-alt1_22

Group :: Text tools
RPM: hunspell-wa

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: hunspell-wa-0.4.15-buildfix.patch
Download


--- 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
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin