ncurses.inc: Fix display corruption and add fallback for sstate compiled paths
authorJason Wessel <jason.wessel@windriver.com>
Sat, 9 Feb 2013 22:06:57 +0000 (16:06 -0600)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 11 Feb 2013 14:46:11 +0000 (14:46 +0000)
commit67657f25e062835976238ae119bbe3f27344d643
tree1d287046c64627df2377e51455e11282d96ac0bf
parent06376153d1a040bf2214ef310aff8357f59c37cd
ncurses.inc: Fix display corruption and add fallback for sstate compiled paths

CQID: WIND00402979

Display corruption was occurring on 64 bit hosts using menuconfig for
the kernel and busybox with the ncurses-native or ncurses-nativesdk
because the configure arguments were not sufficient vs the expected
use from the upstream source.

Also changed in this commit is to provide a fallback to the hard
compiled paths for the terminfo and termcap.  Eventually this needs to
be fixed another way if we want a truly portable SDK because any SDK
that is relocated or native binaries pulled out of the sstate can end
up referencing terminfo files that no longer are in the same location.
Because the host system has terminfo files that ncurses will happily
use we might as well have a fall back to buy some time for a better
fix, vs having thing just not work occasionally when using sstate.

(From OE-Core rev: c820ae11ce369002063bad8b11ee95e1882c99bb)

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/ncurses/ncurses.inc