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.

(From OE-Core rev: ffea660e794b8a6215ddb9a34bce00c461dc9170)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Otavio Salvador 2016-01-18 15:11:07 -02:00 committed by Richard Purdie
parent 571289df7b
commit aadae7bef0
2 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,26 @@
From fad40cfc18a42946a9a9e440c3434cd6b847ff9d Mon Sep 17 00:00:00 2001
From: Otavio Salvador <otavio@ossystems.com.br>
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 <otavio@ossystems.com.br>
---
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

View File

@ -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"