diff options
author | Zhenhua Luo <zhenhua.luo@freescale.com> | 2014-03-26 20:22:36 +0800 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2014-03-29 22:39:50 +0100 |
commit | 56e6228696a25d27c7b271701debf314aa9d53d5 (patch) | |
tree | 09030f80e9b9d64912f38ce6e0e68abde28e5ba4 /meta-oe/recipes-support/lvm2/lvm2.inc | |
parent | f717a295431e518a7bbd6ed878340aecfebd4e2f (diff) | |
download | meta-openembedded-contrib-56e6228696a25d27c7b271701debf314aa9d53d5.tar.gz |
lvm2: replace CPPFunction with rl_completion_func_t to fix build error
lvm2 depends on readline, CPPFunction has been replaced by rl_completion_func_t
in recent readline,
Error log:
| lvm.c: In function 'lvm_shell':
| lvm.c:189:38: error: 'CPPFunction' undeclared (first use in this function)
| rl_attempted_completion_function = (CPPFunction *) _completion;
| ^
Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/lvm2/lvm2.inc')
-rw-r--r-- | meta-oe/recipes-support/lvm2/lvm2.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/lvm2/lvm2.inc b/meta-oe/recipes-support/lvm2/lvm2.inc index c2e100701c..4b43328e23 100644 --- a/meta-oe/recipes-support/lvm2/lvm2.inc +++ b/meta-oe/recipes-support/lvm2/lvm2.inc @@ -9,6 +9,7 @@ INC_PR = "r4" S = "${WORKDIR}/LVM2.${PV}" SRC_URI = "ftp://sources.redhat.com/pub/lvm2/old/LVM2.${PV}.tgz \ + file://0001-Replace-CPPFunction-with-rl_completion_func_t.patch \ file://lvm.conf" PACKAGECONFIG ??= "readline" |