Since the current ebuild switches the configure script to use ncurses instead of the the termcap support from sys-libs/libtermcap-compat configure fails to pick up tput definitions. This means we can't get pretty output from wdiff's -t mode, in fact we don't get any output at all. The attached patch just forces HAVE_TPUTS on, which results in ncurses' defined tputs being used. Yes, the autotools files could be patched to provide the same result but it seems like overkill for something so small. And eww context diffs ;) Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 56404 [details, diff] wdiff-tputs_from_ncurses.patch
Having caused me to rethink this bug a little I have a question: How against adding a 7 year old beta release, the latest release, which actually fixes this issue amongst other things would you be? If it is acceptable I'll do more than 5 minutes testing I've given it this morning and submit an updated ebuild if the beta release is stable. Thanks, James
7 years since the last release? dayum. go for it, it's certainly had a long beta period.
> If it is acceptable I'll do more than 5 minutes testing I've given it > this morning and submit an updated ebuild if the beta release is stable. Having given it some more testing I don't feel it is appropriate to use the beta release.
Someone either updated it w/ some of those ~90s 'updates' from http://wdiff.progiciels-bpi.ca/archives, or apply this patch, or punt it. Tired of having the bug sitting in bugzilla for 3 years.
Fixed