All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Cc: Ricardo Martincoski <ricardo.martincoski@datacom.com.br>,
	buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH 1/1] package/atop: fix musl build
Date: Wed, 8 Nov 2023 23:10:50 +0100	[thread overview]
Message-ID: <20231108231050.095a9433@windsurf> (raw)
In-Reply-To: <20231029180509.283133-1-fontaine.fabrice@gmail.com>

On Sun, 29 Oct 2023 19:05:09 +0100
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:

> Fix the following build failure with musl raised since bump to version
> 2.9.0 in commit 8c70374c4f0f9f77875eac26a5e51ab662575c1c:
> 
> atop.h:157:1: error: unknown type name 'time_t'
>   157 | time_t          normalize_epoch(time_t, long);
>       | ^~~~~~
> atop.h:157:1: note: 'time_t' is defined in header '<time.h>'; did you forget to '#include <time.h>'?
> atop.h:157:40: error: expected ')' before 'long'
>   157 | time_t          normalize_epoch(time_t, long);
>       |                                        ^~~~~
>       |                                        )
> 
> Fixes:
>  - http://autobuild.buildroot.org/results/e7ec8d16f2299320f374a0198c8e9b18a102b037
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
>  package/atop/0001-atop.h-include-time.h.patch | 41 +++++++++++++++++++
>  1 file changed, 41 insertions(+)
>  create mode 100644 package/atop/0001-atop.h-include-time.h.patch

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

      reply	other threads:[~2023-11-08 22:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-29 18:05 [Buildroot] [PATCH 1/1] package/atop: fix musl build Fabrice Fontaine
2023-11-08 22:10 ` Thomas Petazzoni via buildroot [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=20231108231050.095a9433@windsurf \
    --to=buildroot@buildroot.org \
    --cc=fontaine.fabrice@gmail.com \
    --cc=ricardo.martincoski@datacom.com.br \
    --cc=thomas.petazzoni@bootlin.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.