On 2017-07-14 18:57 +0200, Sven Joachim wrote:

> On 2017-07-14 16:13 +0200, Sven Joachim wrote:
>
>> The symbol _nc_read_entry got inadvertently dropped in favor of
>> _nc_read_entry2, and this breaks reverse dependencies (ncurses-bin
>> before 6.0+20170701-1 and tack):
>
> This happened because _nc_read_entry is only compiled in if
> NCURSES_EXT_NUMBERS is #defined and not 0.  There's probably a good reason
> for this, since when I take out this condition infocmp from stretch
> segfaults.
>
> Bringing back the previous implementation of _nc_read_entry instead
> seems to work, as in the attached patch.  While this might to be good
> enough for Debian, upstream likely want a better solution that works
> with other configure flags as well.

Another point interesting for upstream here, although it does not affect
the current Debian package: even when building --with-abi-version=6
(i.e. the default), _nc_read_entry is still missing from the tinfo
library unless --enable-widec is also given.

That happens because NCURSES_EXT_NUMBERS is only #defined as 1 in
curses.priv.h if NCURSES_EXT_COLORS is also not 0, but for the non-wide
build it will be 0.

Sven

Reply via email to