summaryrefslogtreecommitdiff
path: root/packages/readline/readline-5.2/configure_fix.patch
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2008-12-05 16:28:25 +0100
committerKoen Kooi <koen@openembedded.org>2008-12-05 16:28:25 +0100
commit401c6b34d2c541ca153e981f23c20433dcb845b2 (patch)
tree16543be14375a1e09b475122199c17e1432925f6 /packages/readline/readline-5.2/configure_fix.patch
parent95179323c0d9792c4578e6a05297d3feb58a2f28 (diff)
readline: sync with poky
Diffstat (limited to 'packages/readline/readline-5.2/configure_fix.patch')
-rw-r--r--packages/readline/readline-5.2/configure_fix.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/packages/readline/readline-5.2/configure_fix.patch b/packages/readline/readline-5.2/configure_fix.patch
new file mode 100644
index 0000000000..4100fe42a7
--- /dev/null
+++ b/packages/readline/readline-5.2/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)