Created attachment 587618 [details, diff]
Patch fixing both problems
Compiling app-text/hunspell[ncurses] fails to find libncurses[w] during configure and silently disables the ncurses UI leading to an error where running:
The root cause is the split libtinfo[w] in sys-libs/ncurses[tinfo]. Adding -ltinfo[w] to the check for ncurses[w] in configure fixes the problem.
After that fix it compiles, but the ncurses UI segfaults due to conflict between libncursesw and libtinfo (without w!), which is linked independently due to readline. This is a similiar issue as in #682386 and #669096. Modifying the configure to look for tinfow first also during the readline check fixes this second problem.
The bug has been referenced in the following commit(s):
Author: Lars Wendler <firstname.lastname@example.org>
AuthorDate: 2019-09-02 10:54:25 +0000
Commit: Lars Wendler <email@example.com>
CommitDate: 2019-09-02 10:55:47 +0000
app-text/hunspell: Revbump fix build against sys-libs/ncurses[tinfo]
Thanks-to: zimous <firstname.lastname@example.org>
Package-Manager: Portage-2.3.75, Repoman-2.3.17
Signed-off-by: Lars Wendler <email@example.com>
app-text/hunspell/files/hunspell-1.7.0-tinfo.patch | 61 +++++++++++++++
app-text/hunspell/hunspell-1.7.0-r1.ebuild | 88 ++++++++++++++++++++++
2 files changed, 149 insertions(+)
Upastream appears dead and this has been fixed in Gentoo for over a year. Closing.