Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Korsgaard <peter@korsgaard.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] libmpd: fix build with strndup
Date: Sat, 08 Dec 2018 23:38:49 +0100	[thread overview]
Message-ID: <87d0qb3apy.fsf@dell.be.48ers.dk> (raw)
In-Reply-To: <20181208125815.5716-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sat, 8 Dec 2018 13:58:15 +0100")

>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:

 > Retrieve a patch from upstream to include config.h otherwise build will
 > fail when trying to redefine strndup:
 > libmpd-internal.h:210:10: error: expected identifier or '(' before '__extension__'
 >  char *   strndup     (const char *s, size_t n);

 > Indeed, without an include on config.h, HAVE_STRNDUP won't be defined

 > Fixes:
 >  - http://autobuild.buildroot.org/results/a174818fa768b029d19b033139f9c5e0aaaed149

 > Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard

  reply	other threads:[~2018-12-08 22:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-08 12:58 [Buildroot] [PATCH 1/1] libmpd: fix build with strndup Fabrice Fontaine
2018-12-08 22:38 ` Peter Korsgaard [this message]
2018-12-16 19:43 ` Peter Korsgaard

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=87d0qb3apy.fsf@dell.be.48ers.dk \
    --to=peter@korsgaard.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