buildroot/package/util-linux
Thomas Petazzoni 679e133bfd util-linux: fix host build when ncurses is not installed
lib/colors.c uses HAVE_LIBTINFO to decide whether term.h and ncurses.h
should be included. However, the configure.ac check is bogus: it
checks for tinfo using pkg-config, and then if it fails, checks with
AC_CHECK_LIB(). So, if you have tinfo installed, but not the
corresponding development package, the pkg-config test will fail, but
the AC_CHECK_LIB test will succeed, even though the headers are not
available.

To address this, we explicitly tell host-util-linux that tinfo is not
available, like we're already doing for ncurses.

Fixes:

  http://autobuild.buildroot.net/results/3c447e601a7b728860e78cabf2191ab206e6480d/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-10-26 12:18:00 +02:00
..
0001-lib-crc32-prefix-public-functions.patch util-linux: fix crc32 function collision 2016-10-11 11:22:00 +02:00
Config.in util-linux: select ncurses when "pg" is selected 2016-10-24 22:42:34 +02:00
Config.in.host
su.pam
util-linux.hash util-linux: bump version to 2.28.2 2016-09-08 22:03:49 +02:00
util-linux.mk util-linux: fix host build when ncurses is not installed 2016-10-26 12:18:00 +02:00