[Bug 276318] audio/cmus: no colors in terminal

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 14 Jan 2024 14:48:16 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276318

            Bug ID: 276318
           Summary: audio/cmus: no colors in terminal
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: eduardo@FreeBSD.org
          Reporter: ivan@drm.su
             Flags: maintainer-feedback?(eduardo@FreeBSD.org)
          Assignee: eduardo@FreeBSD.org

Hi there!

Here is the bug description:
https://forums.freebsd.org/threads/cmus-no-colors-in-xfce-freebsd-14rc4.90911/

I found out that there is a problem in file ui_curses.c:2295

        if (has_colors()) {
#if HAVE_USE_DEFAULT_COLORS
                start_color();
                use_default_colors();
#endif
        }

It doesn't execute start_color() because of the lack of HAVE_USE_DEFAULT_COLORS
define.

So, to fix this the port must define HAVE_USE_DEFAULT_COLORS

Please update the port

-- 
You are receiving this mail because:
You are the assignee for the bug.