From 6d275f76675851f5080d292ab00d285b4eb0ee01 Mon Sep 17 00:00:00 2001 From: Qing He Date: Thu, 17 Jun 2010 10:37:07 +0800 Subject: readline: update to version 6.1 from 5.2 version 5.2 is still kept since it's the latest version under GPLv2+. changes: - change autotools_do_configure and use do_configure_prepend - similar to do_install_append Signed-off-by: Qing He --- meta/packages/readline/files/configure-fix.patch | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 meta/packages/readline/files/configure-fix.patch (limited to 'meta/packages/readline/files/configure-fix.patch') diff --git a/meta/packages/readline/files/configure-fix.patch b/meta/packages/readline/files/configure-fix.patch new file mode 100644 index 0000000000..4100fe42a7 --- /dev/null +++ b/meta/packages/readline/files/configure-fix.patch @@ -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) -- cgit v1.2.3-54-g00ecf