[Buildroot] [RFC PATCH] util-linux: fix build with ncurses
Peter Korsgaard
peter at korsgaard.com
Fri Dec 23 09:22:00 UTC 2016
>>>>> "Rahul" == Rahul Bedarkar <rahul.bedarkar at imgtec.com> writes:
> util-linux version 2.29 changed ncurses handling a lot. pkg-config
> support to detect ncurses is removed from configure.ac and
> ncurses-config is used to detect it. But it even didn't allow to
> change config file for cross compilation. However, it is fixed in
> upstream later and pkg-config support is added back.
> This commit adds two patches from upstream that adds pkg-config support
> and allows specifying ncurses-config file as well. However preference is
> first given to pkg-config and later nucrses-config file. It also first checks
> for version 6 and later 5.
> Config option that changed are, ncursesw is enabled by default and ncurses
> is disabled by default. So we need to explicilty specify with/without wide
> char support now. This new version also allows disabling widechar support.
> But it can't be enabled if ncurses without widechar support is enabled.
> While building ncurses package, we explicitly enable pkg-config support,
> so we don't need to specify ncurses-config file, but it is specified for
> completeness.
> Fixes:
> http://autobuild.buildroot.net/results/4a2/4a25fb0d4546391d5dbbaa6cde17c45aeddb3549
> Signed-off-by: Rahul Bedarkar <rahul.bedarkar at imgtec.com>
> Cc: Carlos Santos <casantos at datacom.ind.br>
Committed, thanks!
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list