]> code.ossystems Code Review - openembedded-core.git/commit
screen: backport to fix build error
authorKai Kang <kai.kang@windriver.com>
Tue, 8 Sep 2015 08:15:12 +0000 (16:15 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 9 Sep 2015 13:25:08 +0000 (14:25 +0100)
commit81499ff3bd60dfa931fbae75922a342c31251480
tree72d8e85169b268782768159a2c50f2762613e205
parent1687ec04bfee327fe24fdfecb67db689835769f2
screen: backport to fix build error

It fails to compile screen rarely with:

|.../4.3.1-r0/screen-4.3.1/display.h:154:19: error: 'T_N' undeclared here (not in a function)
|   union tcu d_tcs[T_N]; /* terminal capabilities */
|                      ^

Macro T_N is defined in header file term.h but it may not be created
then fails. Backport patch to make sure term.h is created before compile
other source codes.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/screen/screen/0002-comm.h-now-depends-on-term.h.patch [new file with mode: 0644]
meta/recipes-extended/screen/screen_4.3.1.bb