summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/lvm2/lvm2.inc
diff options
context:
space:
mode:
authorZhenhua Luo <zhenhua.luo@freescale.com>2014-03-26 20:22:36 +0800
committerMartin Jansa <Martin.Jansa@gmail.com>2014-03-29 22:39:50 +0100
commit56e6228696a25d27c7b271701debf314aa9d53d5 (patch)
tree09030f80e9b9d64912f38ce6e0e68abde28e5ba4 /meta-oe/recipes-support/lvm2/lvm2.inc
parentf717a295431e518a7bbd6ed878340aecfebd4e2f (diff)
downloadmeta-openembedded-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.inc1
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 c2e100701..4b43328e2 100644
--- a/meta-oe/recipes-support/lvm2/lvm2.inc
+++ b/meta-oe/recipes-support/lvm2/lvm2.inc
@@ -9,6 +9,7 @@ INC_PR = "r4"
9 9
10S = "${WORKDIR}/LVM2.${PV}" 10S = "${WORKDIR}/LVM2.${PV}"
11SRC_URI = "ftp://sources.redhat.com/pub/lvm2/old/LVM2.${PV}.tgz \ 11SRC_URI = "ftp://sources.redhat.com/pub/lvm2/old/LVM2.${PV}.tgz \
12 file://0001-Replace-CPPFunction-with-rl_completion_func_t.patch \
12 file://lvm.conf" 13 file://lvm.conf"
13 14
14PACKAGECONFIG ??= "readline" 15PACKAGECONFIG ??= "readline"