[yocto] [PATCH 1/1] dylan: fix kconfig-frontends for ncurses --with-libterm

Woodyatt, James james.woodyatt at intel.com
Mon May 5 16:07:18 PDT 2014


commit 939c9feca3c26d4603b573d887324d6220e93819
Author: james woodyatt <james.woodyatt at intel.com>
Date:   Mon May 5 15:54:29 2014 -0700

    kconfig-frontends-native: add support for --with-libterm.
    
    This is a cherry-pick of cefcd4b655c2b7efdc6313740f3c8af89dd8f670 from
    the kconfig-frontends project authoritative Git repository for a change
    that went into 3.9 and later revisions that enables building on hosts
    configurations where libncurses uses libtinfo.

diff --git a/oecore.patch b/oecore.patch
index 7371244..ec2fc8b 100644
--- a/oecore.patch
+++ b/oecore.patch
@@ -3272,3 +3272,38 @@ index 43a55a6..5553411 100644
  "
  
  SRC_URI[md5sum] = "3e379b4d8b9693948d751c154614c73e"
+diff --git a/meta/recipes-devtools/kconfig-frontends/files/kconfig-frontends-tinfo.patch b/meta/recipes-devtools/kconfig-frontends/files/kconfig-frontends-tinfo.patch
+new file mode 100644
+index 0000000..1da643a
+--- /dev/null
++++ b/meta/recipes-devtools/kconfig-frontends/files/kconfig-frontends-tinfo.patch
+@@ -0,0 +1,14 @@
++diff --git a/configure.ac b/configure.ac
++index 8b5bc5d..e90fd17 100644
++--- a/configure.ac
+++++ b/configure.ac
++@@ -283,6 +283,10 @@ AS_IF(
++             [test "$need_curses" = "yes"],
++             [AC_MSG_ERROR([could not find curses library (frontends: mconf/nconf)])],
++             [has_curses=no])])
+++     AC_SEARCH_LIBS(
+++        [setupterm],
+++        [tinfo],
+++        [break])
++      ncurses_LIBS="$LIBS"
++      LIBS=$LIBS_old])
+diff --git a/meta/recipes-devtools/kconfig-frontends/kconfig-frontends_3.8.0.bb b/meta/recipes-devtools/kconfig-frontends/kconfig-frontends_3.8.0.bb
+index b9960f9..a1e7572 100644
+--- a/meta/recipes-devtools/kconfig-frontends/kconfig-frontends_3.8.0.bb
++++ b/meta/recipes-devtools/kconfig-frontends/kconfig-frontends_3.8.0.bb
+@@ -13,7 +13,9 @@ SECTION = "devel"
+ DEPENDS += "ncurses flex bison gperf pkgconfig-native"
+ PR = "r0"
+ SPIN = ".0"
+-SRC_URI = "http://ymorin.is-a-geek.org/download/${BPN}/${BPN}-${PV}${SPIN}.tar.xz"
++SRC_URI = "http://ymorin.is-a-geek.org/download/${BPN}/${BPN}-${PV}${SPIN}.tar.xz \
++	   file://kconfig-frontends-tinfo.patch \
++"
+ 
+ SRC_URI[md5sum] = "73598aea99d01d9c422b335e9b963271"
+ SRC_URI[sha256sum] = "b3ff325338aa291c9129dbf33c69ff321e30105aa06ff957be6f958acdc72b42"


—
james woodyatt <james.woodyatt at intel.com>
Software Architect, New Devices Group




More information about the yocto mailing list