From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 2/3] readline: install a .pc file
Date: Thu, 3 May 2018 22:14:58 +0200 [thread overview]
Message-ID: <20180503221458.059ecd7f@windsurf> (raw)
In-Reply-To: <20180422212005.13062-3-thomas.petazzoni@bootlin.com>
Hello,
On Sun, 22 Apr 2018 23:20:04 +0200, Thomas Petazzoni wrote:
> diff --git a/package/readline/0001-configure.ac-readline.pc.in-fix-Requires.private-val.patch b/package/readline/0001-configure.ac-readline.pc.in-fix-Requires.private-val.patch
> new file mode 100644
> index 0000000000..22b479cd91
> --- /dev/null
> +++ b/package/readline/0001-configure.ac-readline.pc.in-fix-Requires.private-val.patch
> @@ -0,0 +1,62 @@
> +From 7bbf2046fbcf4416ec226ecb3a2b4c6a5c263298 Mon Sep 17 00:00:00 2001
> +From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
> +Date: Sun, 22 Apr 2018 23:06:28 +0200
> +Subject: [PATCH] configure.ac, readline.pc.in: fix Requires.private value
> +
> +The provided readline.pc.in hardcodes the fact that readline depends
> +on the tinfo library. However, different termcap implementation are
> +supported beyond tinfo. This commit improves the configure.ac script
> +to define a TERMCAP_PKG_CONFIG_LIB variable, which is then used in
> +readline.pc.in.
> +
> +This for example allows the generated readline.pc to properly contain
> +"Requires.private: ncurses" when ncurses is used as the termcap
> +implementation.
> +
> +Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
For information, this patch has been applied upstream by the readline
maintainer. See
http://git.savannah.gnu.org/cgit/readline.git/commit/?h=devel&id=39cef351237a0d4467d3dc62a7710ea5e619b7e1.
(Yes it's one of those project that use Git in a very weird way).
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com
next prev parent reply other threads:[~2018-05-03 20:14 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-22 21:20 [Buildroot] [PATCH 0/3] Fix udftools in static linking scenarios Thomas Petazzoni
2018-04-22 21:20 ` [Buildroot] [PATCH 1/3] udftool: add missing dependency on readline Thomas Petazzoni
2018-05-06 19:52 ` Peter Korsgaard
2018-04-22 21:20 ` [Buildroot] [PATCH 2/3] readline: install a .pc file Thomas Petazzoni
2018-05-03 20:14 ` Thomas Petazzoni [this message]
2018-05-06 19:52 ` Peter Korsgaard
2018-04-22 21:20 ` [Buildroot] [PATCH 3/3] udftools: fix static linking against readline Thomas Petazzoni
2018-05-06 19:53 ` Peter Korsgaard
2018-04-26 5:33 ` [Buildroot] [PATCH 0/3] Fix udftools in static linking scenarios Rahul Bedarkar
2018-05-04 9:01 ` Thomas Petazzoni
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=20180503221458.059ecd7f@windsurf \
--to=thomas.petazzoni@bootlin.com \
--cc=buildroot@busybox.net \
/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