summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/readline/files/configure-fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/readline/files/configure-fix.patch')
-rw-r--r--meta/recipes-core/readline/files/configure-fix.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/meta/recipes-core/readline/files/configure-fix.patch b/meta/recipes-core/readline/files/configure-fix.patch
new file mode 100644
index 0000000000..4100fe42a7
--- /dev/null
+++ b/meta/recipes-core/readline/files/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)