[Bug 247976] pkg-config produces icorrect linkage information about libncursesw

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Jul 14 17:45:48 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=247976

Yuri Pankov <yuripv at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |yuripv at FreeBSD.org

--- Comment #1 from Yuri Pankov <yuripv at FreeBSD.org> ---
FWIW, pkg-config output is correct as the base ncurses does not provide a .pc
file and you get correct paths for the ports library.

Also, on -CURRENT I have the "Прx" result linking with ncursesw in base, which
seems to be correct as you insert 2 characters from the word "Привет", that is,
"Пр", and same result linking with ncursesw from ports.

The issue seems to be in the base ncursesw library on the release that you are
running -- which one, BTW?

BTW, the answer you got on stackoverflow is incorrect -- the 'n' argument to
mbstowcs() specificies the number of *wide* characters to be stored, not the
number of bytes to consume from multibyte string.

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


More information about the freebsd-ports-bugs mailing list