From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v4] libtirpc: Fix build error due to missing stdint.h inclusion
Date: Tue, 20 Jun 2017 22:10:05 +0200 [thread overview]
Message-ID: <20170620221005.2c4e6904@windsurf.lan> (raw)
In-Reply-To: <20170620165531.24067-1-dmitrii@synopsys.com>
Hello,
On Tue, 20 Jun 2017 19:55:31 +0300, Dmitrii Kolesnichenko wrote:
> Add patch to fix following error:
> | ../../libtirpc-1.0.1/src/xdr_sizeof.c:93:13: error: 'uintptr_t' undeclared (first use in this function); did you mean '__intptr_t'?
> | if (len < (uintptr_t)xdrs->x_base) {
> | ^~~~~~~~~
>
> This error occurs with the latest glibc master version (during the testing I had
> glibc commit 92bd70fb85bce57ac47ba5d8af008736832c955a), but doesn't occur with
> version 2.25.
>
> Patch includes stdint.h to provide uintptr_t.
>
> It has been submitted upstream:
> https://sourceforge.net/p/libtirpc/mailman/message/35850276/
>
> Signed-off-by: Dmitrii Kolesnichenko <dmitrii@synopsys.com>
> ---
> ...ild-error-due-to-missing-stdint.h-include.patch | 26 ++++++++++++++++++++++
> 1 file changed, 26 insertions(+)
> create mode 100644 package/libtirpc/0008-Fix-build-error-due-to-missing-stdint.h-include.patch
Applied to master, thanks. However, I reformatted the patch using Git,
because upstream libtirpc uses git. It would be nice to do so for your
next patches to Buildroot packages. Thanks a lot for this contribution!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
prev parent reply other threads:[~2017-06-20 20:10 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-15 18:05 [Buildroot] [PATCH] libtirpc: Fix build error due to missing stdint.h inclusion Dmitrii Kolesnichenko
2017-06-15 21:19 ` Thomas Petazzoni
2017-06-16 11:51 ` Dmitrii Kolesnichenko
2017-06-16 12:25 ` Thomas Petazzoni
2017-06-16 15:40 ` Dmitrii Kolesnichenko
2017-06-19 15:06 ` Dmitrii Kolesnichenko
2017-06-19 19:31 ` Thomas Petazzoni
2017-06-20 8:51 ` [Buildroot] [PATCH v3] " Dmitrii Kolesnichenko
2017-06-20 10:47 ` Alexey Brodkin
2017-06-20 16:55 ` [Buildroot] [PATCH v4] " Dmitrii Kolesnichenko
2017-06-20 20:10 ` 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=20170620221005.2c4e6904@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 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.