mirror of
https://git.yoctoproject.org/poky
synced 2026-02-26 19:39:40 +01:00
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
This commit is contained in:
24
meta/packages/readline/readline-5.2/configure_fix.patch
vendored
Normal file
24
meta/packages/readline/readline-5.2/configure_fix.patch
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
Without this it fails to link against libtermcap causing various missing symbols
|
||||
issues.
|
||||
|
||||
RP - 8/10/08
|
||||
|
||||
Index: readline-5.2/configure.in
|
||||
===================================================================
|
||||
--- readline-5.2.orig/configure.in 2008-10-08 09:58:52.000000000 +0100
|
||||
+++ readline-5.2/configure.in 2008-10-08 09:59:03.000000000 +0100
|
||||
@@ -211,10 +211,10 @@
|
||||
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)
|
||||
@@ -8,10 +8,11 @@ LICENSE = "GPLv2"
|
||||
DEPENDS += "ncurses"
|
||||
RPROVIDES_${PN} += "readline"
|
||||
LEAD_SONAME = "libreadline.so"
|
||||
PR = "r3"
|
||||
PR = "r4"
|
||||
|
||||
SRC_URI = "ftp://ftp.gnu.org/gnu/readline/readline-${PV}.tar.gz \
|
||||
file://acinclude.m4"
|
||||
file://configure_fix.patch;patch=1 \
|
||||
file://acinclude.m4"
|
||||
|
||||
S = "${WORKDIR}/readline-${PV}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user