diff options
| author | Hongxu Jia <hongxu.jia@windriver.com> | 2014-03-03 15:16:50 +0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-03-05 15:50:21 +0000 |
| commit | eddaf701929a36627fda26e2573d942756a947cc (patch) | |
| tree | 74a81d040783936e3184617925e25ae972248ede | |
| parent | ad0b28bad8673d913363d7ee9314888c6c47fe8d (diff) | |
| download | poky-eddaf701929a36627fda26e2573d942756a947cc.tar.gz | |
readline: update configure-fix.patch
The configure-fix.patch is used to patch configure.in in 6.2 (or 5.2),
but configure.ac in 6.3
(From OE-Core rev: 11798d94419392dc5639a770792aaee0b7920035)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta/recipes-core/readline/readline-5.2/configure-fix.patch (renamed from meta/recipes-core/readline/files/configure-fix.patch) | 0 | ||||
| -rw-r--r-- | meta/recipes-core/readline/readline-6.3/configure-fix.patch | 35 |
2 files changed, 35 insertions, 0 deletions
diff --git a/meta/recipes-core/readline/files/configure-fix.patch b/meta/recipes-core/readline/readline-5.2/configure-fix.patch index be60a9861e..be60a9861e 100644 --- a/meta/recipes-core/readline/files/configure-fix.patch +++ b/meta/recipes-core/readline/readline-5.2/configure-fix.patch | |||
diff --git a/meta/recipes-core/readline/readline-6.3/configure-fix.patch b/meta/recipes-core/readline/readline-6.3/configure-fix.patch new file mode 100644 index 0000000000..ef3104f8a6 --- /dev/null +++ b/meta/recipes-core/readline/readline-6.3/configure-fix.patch | |||
| @@ -0,0 +1,35 @@ | |||
| 1 | Upstream-Status: Pending | ||
| 2 | |||
| 3 | Without this it fails to link against libtermcap causing various missing | ||
| 4 | symbols issues. | ||
| 5 | |||
| 6 | RP - 8/10/08 | ||
| 7 | |||
| 8 | Support 6.3 which uses configure.ac rather than configure.in. | ||
| 9 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> | ||
| 10 | --- | ||
| 11 | configure.ac | 8 ++++---- | ||
| 12 | 1 file changed, 4 insertions(+), 4 deletions(-) | ||
| 13 | |||
| 14 | diff --git a/configure.ac b/configure.ac | ||
| 15 | index cea8f91..9075b8f 100644 | ||
| 16 | --- a/configure.ac | ||
| 17 | +++ b/configure.ac | ||
| 18 | @@ -218,10 +218,10 @@ if test -f ${srcdir}/support/shobj-conf; then | ||
| 19 | AC_MSG_CHECKING(configuration for building shared libraries) | ||
| 20 | eval `TERMCAP_LIB=$TERMCAP_LIB ${CONFIG_SHELL-/bin/sh} ${srcdir}/support/shobj-conf -C "${CC}" -c ${host_cpu} -o ${host_os} -v ${host_vendor}` | ||
| 21 | |||
| 22 | -# case "$SHLIB_LIBS" in | ||
| 23 | -# *curses*|*termcap*|*termlib*) ;; | ||
| 24 | -# *) SHLIB_LIBS="$SHLIB_LIBS $TERMCAP_LIB" ;; | ||
| 25 | -# esac | ||
| 26 | + case "$SHLIB_LIBS" in | ||
| 27 | + *curses*|*termcap*|*termlib*) ;; | ||
| 28 | + *) SHLIB_LIBS="$SHLIB_LIBS $TERMCAP_LIB" ;; | ||
| 29 | + esac | ||
| 30 | |||
| 31 | AC_SUBST(SHOBJ_CC) | ||
| 32 | AC_SUBST(SHOBJ_CFLAGS) | ||
| 33 | -- | ||
| 34 | 1.8.1.2 | ||
| 35 | |||
