Patchwork [11/11] gawk: Add missing dependency on readline

login
register
mail settings
Submitter Khem Raj
Date Jan. 24, 2013, 9:07 p.m.
Message ID <fa5f9321c7e2c65b6af75cef2b777d5c94554de5.1359061155.git.raj.khem@gmail.com>
Download mbox | patch
Permalink /patch/43321/
State Accepted
Commit 1af44d18cc0ba6c30d6d4ccc1734a9cf86196117
Headers show

Comments

Khem Raj - Jan. 24, 2013, 9:07 p.m.
building from shared state often ends up with

|
/b/kraj/angstrom/build/tmp-angstrom_next-uclibc/work/i586-angstrom-linux-uclibc/gawk/4.0.1-r1/gawk-4
.0.1/debug.c:4135: undefined reference to `rl_reset_terminal'
|
/b/kraj/angstrom/build/tmp-angstrom_next-uclibc/work/i586-angstrom-linux-uclibc/gawk/4.0.1-r1/gawk-4
.0.1/debug.c:4138: undefined reference to `rl_get_screen_size'
| debug.o: In function `unserialize':

Adding the missing readline dependency to fix such cases
where readline has not been populated in sysroot via some
other dependency and gawk would then use it or bail out.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/recipes-extended/gawk/gawk_4.0.1.bb |    2 ++
 1 file changed, 2 insertions(+)

Patch

diff --git a/meta/recipes-extended/gawk/gawk_4.0.1.bb b/meta/recipes-extended/gawk/gawk_4.0.1.bb
index fcd7619..38ad25b 100644
--- a/meta/recipes-extended/gawk/gawk_4.0.1.bb
+++ b/meta/recipes-extended/gawk/gawk_4.0.1.bb
@@ -9,6 +9,8 @@  SECTION = "console/utils"
 LICENSE = "GPLv3"
 LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
 
+DEPENDS += "readline"
+
 RDEPENDS_gawk += "gawk-common"
 RDEPENDS_pgawk += "gawk-common"
 PR = "r1"