Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 126566 - ispell-pl generator script bombs out
Summary: ispell-pl generator script bombs out
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Spell checking utilities and dictionaries -- related bugs (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-17 10:42 UTC by Radoslaw Szkodzinski
Modified: 2006-03-19 10:31 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Radoslaw Szkodzinski 2006-03-17 10:42:04 UTC
The script has an incompatible sort command, which uses the deprecated and nonexistent in coreutils 5.94 +<x> field descriptor instead of POSIX standard -k <x>.

The hash database isn't being made because of this, so the dictionary doesn't work.

A fix is simple and as follows. (replace the following function)

DICTBUILD="./zbuduj.slownik.sh"

src_compile() {
        # update the script to be POSIX-compatible
        sed "s/sort +1/sort -k 1/" $DICTBUILD > $DICTBUILD.tmp
        cp $DICTBUILD.tmp $DICTBUILD
        $DICTBUILD
}
Comment 1 Anders Rune Jensen (RETIRED) gentoo-dev 2006-03-19 10:31:46 UTC
Thanks a lot for the fix. In cvs now.