Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v1] atftp: fix musl compile
Date: Sat, 18 Apr 2015 15:44:24 +0200	[thread overview]
Message-ID: <20150418154424.48aa7d61@free-electrons.com> (raw)
In-Reply-To: <1429218125-12061-1-git-send-email-ps.report@gmx.net>

Dear Peter Seiderer,

On Thu, 16 Apr 2015 23:02:05 +0200, Peter Seiderer wrote:
> - add missing __THROW, __BEGIN_DECLS, __END_DECLS and __attribute_pure__
>   defines in atftp own argz.h file
> 
> - add missing sys/types.h include in tftp.h and tftpd.h
> 
> Fixes [1]:
> 
> argz.h:61:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'extern'
>  extern error_t __argz_create (char *__const __argv[], char **__restrict __argz,
>  ^
> argz.h: In function 'argz_create':
> argz.h:64:34: error: expected declaration specifiers before '__THROW'
>         size_t *__restrict __len) __THROW;
> 
> [1] http://autobuild.buildroot.net/results/b7f/b7f205ea2066788ea78a1a819f1b592e84e2455e/
> 
> Signed-off-by: Peter Seiderer <ps.report@gmx.net>
> ---
>  ...gz.h-fix-musl-compile-add-missing-defines.patch | 42 ++++++++++++++++++++++
>  ...-tftpd.h-fix-musl-compile-missing-include.patch | 40 +++++++++++++++++++++
>  2 files changed, 82 insertions(+)
>  create mode 100644 package/atftp/0002-argz.h-fix-musl-compile-add-missing-defines.patch
>  create mode 100644 package/atftp/0003-tftp.h-tftpd.h-fix-musl-compile-missing-include.patch

Applied, thanks. Can you please submit those patches to the upstream
atftp project?

Thanks,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

  reply	other threads:[~2015-04-18 13:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-16 21:02 [Buildroot] [PATCH v1] atftp: fix musl compile Peter Seiderer
2015-04-18 13:44 ` Thomas Petazzoni [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-04-23 19:55 Peter Seiderer

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=20150418154424.48aa7d61@free-electrons.com \
    --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