1
0
mirror of https://git.yoctoproject.org/poky synced 2026-06-01 13:09:50 +00:00

readline: update 8.1.2 -> 8.2

Replace configure-fix.patch with --with-shared-termcap-library

Backport a compatibility fix for gdb.

(From OE-Core rev: 72aea7be34cd88030283b989d5381a5fd944f53d)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Alexander Kanavin
2022-11-14 20:00:52 +01:00
committed by Richard Purdie
parent 82e8c4105c
commit dececdc8e8
6 changed files with 46 additions and 43 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ SRC_URI += "file://inputrc"
inherit autotools texinfo
EXTRA_AUTORECONF += "--exclude=autoheader"
EXTRA_OECONF += "bash_cv_termcap_lib=ncurses"
EXTRA_OECONF += "bash_cv_termcap_lib=ncurses --with-shared-termcap-library"
LEAD_SONAME = "libreadline.so"
@@ -1,35 +0,0 @@
Upstream-Status: Pending
Without this it fails to link against libtermcap causing various missing
symbols issues.
RP - 8/10/08
Support 6.3 which uses configure.ac rather than configure.in.
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
---
configure.ac | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/configure.ac b/configure.ac
index cea8f91..9075b8f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -218,10 +218,10 @@ if test -f ${srcdir}/support/shobj-conf; then
AC_MSG_CHECKING(configuration for building shared libraries)
eval `TERMCAP_LIB=$TERMCAP_LIB ${CONFIG_SHELL-/bin/sh} ${srcdir}/support/shobj-conf -C "${CC}" -c ${host_cpu} -o ${host_os} -v ${host_vendor}`
-# case "$SHLIB_LIBS" in
-# *curses*|*termcap*|*termlib*) ;;
-# *) SHLIB_LIBS="$SHLIB_LIBS $TERMCAP_LIB" ;;
-# esac
+ case "$SHLIB_LIBS" in
+ *curses*|*termcap*|*termlib*) ;;
+ *) SHLIB_LIBS="$SHLIB_LIBS $TERMCAP_LIB" ;;
+ esac
AC_SUBST(SHOBJ_CC)
AC_SUBST(SHOBJ_CFLAGS)
--
1.8.1.2
@@ -1,7 +0,0 @@
require readline.inc
SRC_URI += "file://configure-fix.patch \
file://norpath.patch \
"
SRC_URI[archive.sha256sum] = "7589a2381a8419e68654a47623ce7dfcb756815c8fee726b98f90bf668af7bc6"
@@ -0,0 +1,5 @@
require readline.inc
SRC_URI += " file://norpath.patch"
SRC_URI[archive.sha256sum] = "3feb7171f16a84ee82ca18a36d7b9be109a52c04f492a053331d7d1095007c35"