From ffea660e794b8a6215ddb9a34bce00c461dc9170 Mon Sep 17 00:00:00 2001 From: Otavio Salvador Date: Mon, 18 Jan 2016 15:11:07 -0200 Subject: libnewt: Fix linking error due missing symbols The NEWT library links with 'slang' which requires 'tinfo' for successful linking, this adds the 'tinfo' to the linking libraries. Signed-off-by: Otavio Salvador Signed-off-by: Ross Burton --- ...-Add-tinfo-library-to-the-linking-librari.patch | 26 ++++++++++++++++++++++ meta/recipes-extended/newt/libnewt_0.52.18.bb | 1 + 2 files changed, 27 insertions(+) create mode 100644 meta/recipes-extended/newt/files/Makefile.in-Add-tinfo-library-to-the-linking-librari.patch diff --git a/meta/recipes-extended/newt/files/Makefile.in-Add-tinfo-library-to-the-linking-librari.patch b/meta/recipes-extended/newt/files/Makefile.in-Add-tinfo-library-to-the-linking-librari.patch new file mode 100644 index 0000000000..bc55582fd9 --- /dev/null +++ b/meta/recipes-extended/newt/files/Makefile.in-Add-tinfo-library-to-the-linking-librari.patch @@ -0,0 +1,26 @@ +From fad40cfc18a42946a9a9e440c3434cd6b847ff9d Mon Sep 17 00:00:00 2001 +From: Otavio Salvador +Date: Mon, 18 Jan 2016 17:05:19 +0000 +Subject: [PATCH] Makefile.in: Add tinfo library to the linking libraries +Organization: O.S. Systems Software LTDA. + +Upstream-Status: Pending + +Signed-off-by: Otavio Salvador +--- + Makefile.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Makefile.in b/Makefile.in +index a85d00f..98b85f9 100644 +--- a/Makefile.in ++++ b/Makefile.in +@@ -1,4 +1,4 @@ +-LIBS = -lslang @LIBS@ ++LIBS = -lslang -ltinfo @LIBS@ + LIBTCL = @TCL_LIB_FLAG@ + + CC = @CC@ +-- +2.1.4 + diff --git a/meta/recipes-extended/newt/libnewt_0.52.18.bb b/meta/recipes-extended/newt/libnewt_0.52.18.bb index 302e418a9d..293c1a8a5a 100644 --- a/meta/recipes-extended/newt/libnewt_0.52.18.bb +++ b/meta/recipes-extended/newt/libnewt_0.52.18.bb @@ -21,6 +21,7 @@ SRC_URI = "https://fedorahosted.org/releases/n/e/newt/newt-${PV}.tar.gz \ file://remove_slang_include.patch \ file://fix_SHAREDDIR.patch \ file://cross_ar.patch \ + file://Makefile.in-Add-tinfo-library-to-the-linking-librari.patch \ " SRC_URI[md5sum] = "685721bee1a318570704b19dcf31d268" -- cgit 1.2.3-korg