Created attachment 181662 [details]
Screenshot cmus 2.8.0-rc0
Update to 2.8.0-rc0 broke user interface.
Cmus compiled with ncurses from ports.
Created attachment 181663 [details]
Screenshot cmus 2.7.1
Created attachment 181675 [details]
This is a lot trickier than I thought. I don't know why I didn't see
it before. What I think is happening is that cmus picks up
/usr/include/curses.h which has different definitions than
devel/ncurses which leads to the garbage we see. But it's hard to
tell for sure.
I came up with a patch that fixes the issue on my system. Can you
Created attachment 181676 [details]
Small update. The configure script patch isn't necessary.
Thanks for your work on this. Patch fixed issue for me.
(In reply to Oleg Gushchenkov from comment #4)
Thanks for testing so quickly. I'll commit this ASAP.
A commit references this bug:
Date: Tue Apr 11 14:04:38 UTC 2017
New revision: 438262
Fix broken UI when linking with devel/ncurses
ports r438165 fixed building cmus with devel/ncurses installed, but
stripped NCURSES_CFLAGS too aggressivly. The build picked up base's
curses.h over the correct headers from devel/ncurses.
Reported by: Oleg Gushchenkov <email@example.com>
Reviewed by: Oleg Gushchenkov <firstname.lastname@example.org>
Approved by: mat (mentor)
Differential Revision: https://reviews.freebsd.org/D10355