Created attachment 563278 [details]
enchant-2.2.3 breaks some packages which depend on enchant, like
Caution: the attached ebuild probably doesn't work with older versions of enchant
Created attachment 563280 [details, diff]
Created attachment 563282 [details, diff]
necessary patch (just renamed)
Have you tested that stardict actually builds and works correctly with enchant-2?
Your patch only modifies enchant autotools detection and doesn't change how enchant is used in stardict. But enchant-2 hast incompatible API changes compared to enchant-1.