From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Cc: buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH 1/1] package/udpcast: fix musl build
Date: Sun, 14 Aug 2022 14:30:31 +0200 [thread overview]
Message-ID: <20220814143031.0ef0497e@windsurf> (raw)
In-Reply-To: <20220813195943.2411510-1-fontaine.fabrice@gmail.com>
On Sat, 13 Aug 2022 21:59:43 +0200
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:
> Fix the following musl build failure raised since bump to version
> 20211207 in commit ecf85b4ef58873e9acf749adedfbaa90baaaf3c0:
>
> receivedata.c: In function 'findSlice':
> receivedata.c:348:2: error: unknown type name 'ptrdiff_t'
> 348 | ptrdiff_t pos = slice - clst->slices;
> | ^~~~~~~~~
> receivedata.c:17:1: note: 'ptrdiff_t' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'?
> 16 | #include "fec.h"
> +++ |+#include <stddef.h>
> 17 |
>
> Fixes:
> - http://autobuild.buildroot.org/results/30208c6f175967fed6de690447a09e0c86547b24
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
> package/udpcast/0001-fix-musl-build.patch | 31 +++++++++++++++++++++++
> 1 file changed, 31 insertions(+)
> create mode 100644 package/udpcast/0001-fix-musl-build.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
next prev parent reply other threads:[~2022-08-14 12:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-13 19:59 [Buildroot] [PATCH 1/1] package/udpcast: fix musl build Fabrice Fontaine
2022-08-14 12:30 ` Thomas Petazzoni via buildroot [this message]
2022-08-14 19:58 ` Yann E. MORIN
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=20220814143031.0ef0497e@windsurf \
--to=buildroot@buildroot.org \
--cc=fontaine.fabrice@gmail.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox