Patchwork Help ncurses-native find terminfo on RHEL 6

login
register
mail settings
Submitter Jeffrey Honig
Date March 1, 2013, 2:12 a.m.
Message ID <1362103971-2618-1-git-send-email-jeffrey.honig@windriver.com>
Download mbox | patch
Permalink /patch/45327/
State Accepted
Commit bac332acb289a9d56235191ac9bff716dc195dc4
Headers show

Comments

Jeffrey Honig - March 1, 2013, 2:12 a.m.
From: Jeffrey C Honig <jeffrey.honig@windriver.com>

[ CQID: WIND00405305 ]

When using ncurses from sstate cache it is not able to find terminfo
for screen on RHEL 6.  While RHEL 6 has /lib/terminfo, it is not
complete, the complete terminfo database is in /usr/share/terminfo.  This
results failure of programs linked to ncurses, such as menuconfig.

Signed-off-by: Jeffrey C Honig <jeffrey.honig@windriver.com>
---
 meta/recipes-core/ncurses/ncurses.inc |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
Khem Raj - March 1, 2013, 7:14 a.m.
On (28/02/13 21:12), jeffrey.honig@windriver.com wrote:
> From: Jeffrey C Honig <jeffrey.honig@windriver.com>
> 
> [ CQID: WIND00405305 ]

same as the other patch

> 
> When using ncurses from sstate cache it is not able to find terminfo
> for screen on RHEL 6.  While RHEL 6 has /lib/terminfo, it is not
> complete, the complete terminfo database is in /usr/share/terminfo.  This
> results failure of programs linked to ncurses, such as menuconfig.
> 
> Signed-off-by: Jeffrey C Honig <jeffrey.honig@windriver.com>
> ---
>  meta/recipes-core/ncurses/ncurses.inc |    6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/meta/recipes-core/ncurses/ncurses.inc b/meta/recipes-core/ncurses/ncurses.inc
> index 9250e9d..040495c 100644
> --- a/meta/recipes-core/ncurses/ncurses.inc
> +++ b/meta/recipes-core/ncurses/ncurses.inc
> @@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://ncurses/base/version.c;beginline=1;endline=27;md5=cbc
>  SECTION = "libs"
>  DEPENDS = "ncurses-native"
>  DEPENDS_class-native = ""
> -INC_PR = "r14"
> +INC_PR = "r15"
>  
>  inherit autotools binconfig multilib_header
>  
> @@ -51,8 +51,8 @@ EX_TERMCAP = ""
>  EX_TERMCAP_virtclass-native = ":/etc/termcap:/usr/share/misc/termcap"
>  EX_TERMCAP_virtclass-nativesdk = ":/etc/termcap:/usr/share/misc/termcap"
>  EX_TERMINFO = ""
> -EX_TERMINFO_virtclass-native = ":/etc/terminfo:/usr/share/misc/terminfo:/lib/terminfo"
> -EX_TERMINFO_virtclass-nativesdk = ":/etc/terminfo:/usr/share/misc/terminfo:/lib/terminfo"
> +EX_TERMINFO_virtclass-native = ":/etc/terminfo:/usr/share/terminfo:/usr/share/misc/terminfo:/lib/terminfo"
> +EX_TERMINFO_virtclass-nativesdk = ":/etc/terminfo:/usr/share/terminfo:/usr/share/misc/terminfo:/lib/terminfo"
>  
>  # Helper function for do_configure to allow multiple configurations
>  # $1 the directory to run configure in
> -- 
> 1.7.9.5
> 
> 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Patch

diff --git a/meta/recipes-core/ncurses/ncurses.inc b/meta/recipes-core/ncurses/ncurses.inc
index 9250e9d..040495c 100644
--- a/meta/recipes-core/ncurses/ncurses.inc
+++ b/meta/recipes-core/ncurses/ncurses.inc
@@ -6,7 +6,7 @@  LIC_FILES_CHKSUM = "file://ncurses/base/version.c;beginline=1;endline=27;md5=cbc
 SECTION = "libs"
 DEPENDS = "ncurses-native"
 DEPENDS_class-native = ""
-INC_PR = "r14"
+INC_PR = "r15"
 
 inherit autotools binconfig multilib_header
 
@@ -51,8 +51,8 @@  EX_TERMCAP = ""
 EX_TERMCAP_virtclass-native = ":/etc/termcap:/usr/share/misc/termcap"
 EX_TERMCAP_virtclass-nativesdk = ":/etc/termcap:/usr/share/misc/termcap"
 EX_TERMINFO = ""
-EX_TERMINFO_virtclass-native = ":/etc/terminfo:/usr/share/misc/terminfo:/lib/terminfo"
-EX_TERMINFO_virtclass-nativesdk = ":/etc/terminfo:/usr/share/misc/terminfo:/lib/terminfo"
+EX_TERMINFO_virtclass-native = ":/etc/terminfo:/usr/share/terminfo:/usr/share/misc/terminfo:/lib/terminfo"
+EX_TERMINFO_virtclass-nativesdk = ":/etc/terminfo:/usr/share/terminfo:/usr/share/misc/terminfo:/lib/terminfo"
 
 # Helper function for do_configure to allow multiple configurations
 # $1 the directory to run configure in