Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Koen Kooi <koen@dominion.thruhere.net>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [meta-oe] lvm2: replace CPPFunction with rl_completion_func_t to fix build error
Date: Tue, 25 Mar 2014 11:39:18 +0100	[thread overview]
Message-ID: <lgrmc6$aj8$1@ger.gmane.org> (raw)
In-Reply-To: <1395742470-21967-1-git-send-email-zhenhua.luo@freescale.com>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Zhenhua Luo schreef op 25-03-14 11:14:
> 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> --- 
> meta-oe/recipes-support/lvm2/lvm2.inc              |  1 + 
> ...ace-CPPFunction-with-rl_completion_func_t.patch | 33
> ++++++++++++++++++++++ 2 files changed, 34 insertions(+) create mode
> 100644
> meta-oe/recipes-support/lvm2/lvm2/0001-Replace-CPPFunction-with-rl_completion_func_t.patch
>
>  diff --git a/meta-oe/recipes-support/lvm2/lvm2.inc
> b/meta-oe/recipes-support/lvm2/lvm2.inc index c2e1007..4b43328 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" diff --git
> a/meta-oe/recipes-support/lvm2/lvm2/0001-Replace-CPPFunction-with-rl_completion_func_t.patch
> b/meta-oe/recipes-support/lvm2/lvm2/0001-Replace-CPPFunction-with-rl_completion_func_t.patch
>
> 
new file mode 100644
> index 0000000..9eb5b7b --- /dev/null +++
> b/meta-oe/recipes-support/lvm2/lvm2/0001-Replace-CPPFunction-with-rl_completion_func_t.patch
>
> 
@@ -0,0 +1,33 @@
> +From e2484e179c389b98366c8b66b451d9d2ba8f35e8 Mon Sep 17 00:00:00 2001 
> +From: Zhenhua Luo <zhenhua.luo@freescale.com> +Date: Tue, 25 Mar 2014
> 17:39:43 +0800 +Subject: [PATCH] Replace CPPFunction with
> rl_completion_func_t + +lvm2 depends on readline, CPPFunction has been
> replaced by rl_completion_func_t +in recent readline, + +Upstream-Status:
> Inappropriate [configuration] +The change depends on the build
> environment, it is required by Yocto env due to +readline upgrade.

s/Yocto/OpenEmbedded/

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: GPGTools - http://gpgtools.org

iD8DBQFTMVzWMkyGM64RGpERAmoXAKCkrMdIL8yO0+z0Opm4eQUj858XdACggu9X
vy9I+nuEbWkJSiKIm9Fxx1Y=
=qXnl
-----END PGP SIGNATURE-----



      reply	other threads:[~2014-03-25 10:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-25 10:14 [meta-oe] lvm2: replace CPPFunction with rl_completion_func_t to fix build error Zhenhua Luo
2014-03-25 10:39 ` Koen Kooi [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='lgrmc6$aj8$1@ger.gmane.org' \
    --to=koen@dominion.thruhere.net \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox