From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] openntpd: fix build with musl
Date: Wed, 27 Sep 2017 21:21:24 +0200 [thread overview]
Message-ID: <20170927212124.20eaf823@windsurf.lan> (raw)
In-Reply-To: <cd1a6a1cfa3a72fab2856192ffb16dee2dc9acc5.1506429455.git.baruch@tkos.co.il>
Hello,
On Tue, 26 Sep 2017 15:37:35 +0300, Baruch Siach wrote:
> The recent version bump added a local sys/cdefs.h header that overrides
> the internal libc provided one. But since musl does not use this header,
> the __dead definition in this file is missing. Add a patch that moves
> the __dead definition to sys/types.h.
>
> Update the autoreconf reason comment. Current openntpd ships libtool
> version 2.4.2 that Buildroot can safely patch.
>
> Fixes:
> http://autobuild.buildroot.net/results/2b1/2b14b7012b93f0f2bfaf9e61435dd8826217d481/
> http://autobuild.buildroot.net/results/7b0/7b08c987ce200deefa21ba85a9361d818be6b206/
> http://autobuild.buildroot.net/results/230/2304c4de26bd6217b79aa035be340a3c81497cbd/
>
> Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
> Signed-off-by: Baruch Siach <baruch@tkos.co.il>
> ---
> ...-Revert-use-__dead-macro-from-sys-cdefs.h.patch | 91 ++++++++++++++++++++++
> package/openntpd/openntpd.mk | 2 +-
> 2 files changed, 92 insertions(+), 1 deletion(-)
> create mode 100644 package/openntpd/0001-Revert-use-__dead-macro-from-sys-cdefs.h.patch
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
prev parent reply other threads:[~2017-09-27 19:21 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-26 12:37 [Buildroot] [PATCH] openntpd: fix build with musl Baruch Siach
2017-09-26 16:56 ` Bernd Kuhls
2017-09-27 19:21 ` Thomas Petazzoni [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=20170927212124.20eaf823@windsurf.lan \
--to=thomas.petazzoni@free-electrons.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