summaryrefslogtreecommitdiffstats
path: root/meta/packages/readline
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2008-10-08 09:05:00 +0000
committerRichard Purdie <richard@openedhand.com>2008-10-08 09:05:00 +0000
commit25e4a631a05f68b6883b57d554f3f89156a8b34d (patch)
tree57dd54aaece5df5e5c7c8cc6fe63b67b03f0032d /meta/packages/readline
parent2ab7811678827b3a3ef0dbab7dd05d673a9864f5 (diff)
downloadpoky-25e4a631a05f68b6883b57d554f3f89156a8b34d.tar.gz
readline: Add configure fix to solve missing symbol issues
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5446 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/readline')
-rw-r--r--meta/packages/readline/readline-5.2/configure_fix.patch24
-rw-r--r--meta/packages/readline/readline_5.2.bb5
2 files changed, 27 insertions, 2 deletions
diff --git a/meta/packages/readline/readline-5.2/configure_fix.patch b/meta/packages/readline/readline-5.2/configure_fix.patch
new file mode 100644
index 0000000000..4100fe42a7
--- /dev/null
+++ b/meta/packages/readline/readline-5.2/configure_fix.patch
@@ -0,0 +1,24 @@
1Without this it fails to link against libtermcap causing various missing symbols
2issues.
3
4RP - 8/10/08
5
6Index: readline-5.2/configure.in
7===================================================================
8--- readline-5.2.orig/configure.in 2008-10-08 09:58:52.000000000 +0100
9+++ readline-5.2/configure.in 2008-10-08 09:59:03.000000000 +0100
10@@ -211,10 +211,10 @@
11 AC_MSG_CHECKING(configuration for building shared libraries)
12 eval `TERMCAP_LIB=$TERMCAP_LIB ${CONFIG_SHELL-/bin/sh} ${srcdir}/support/shobj-conf -C "${CC}" -c ${host_cpu} -o ${host_os} -v ${host_vendor}`
13
14-# case "$SHLIB_LIBS" in
15-# *curses*|*termcap*|*termlib*) ;;
16-# *) SHLIB_LIBS="$SHLIB_LIBS $TERMCAP_LIB" ;;
17-# esac
18+ case "$SHLIB_LIBS" in
19+ *curses*|*termcap*|*termlib*) ;;
20+ *) SHLIB_LIBS="$SHLIB_LIBS $TERMCAP_LIB" ;;
21+ esac
22
23 AC_SUBST(SHOBJ_CC)
24 AC_SUBST(SHOBJ_CFLAGS)
diff --git a/meta/packages/readline/readline_5.2.bb b/meta/packages/readline/readline_5.2.bb
index 1780ee172f..a7dc818790 100644
--- a/meta/packages/readline/readline_5.2.bb
+++ b/meta/packages/readline/readline_5.2.bb
@@ -8,10 +8,11 @@ LICENSE = "GPLv2"
8DEPENDS += "ncurses" 8DEPENDS += "ncurses"
9RPROVIDES_${PN} += "readline" 9RPROVIDES_${PN} += "readline"
10LEAD_SONAME = "libreadline.so" 10LEAD_SONAME = "libreadline.so"
11PR = "r3" 11PR = "r4"
12 12
13SRC_URI = "ftp://ftp.gnu.org/gnu/readline/readline-${PV}.tar.gz \ 13SRC_URI = "ftp://ftp.gnu.org/gnu/readline/readline-${PV}.tar.gz \
14 file://acinclude.m4" 14 file://configure_fix.patch;patch=1 \
15 file://acinclude.m4"
15 16
16S = "${WORKDIR}/readline-${PV}" 17S = "${WORKDIR}/readline-${PV}"
17 18