From: Andrei Borzenkov <arvidjaar@gmail.com>
To: The development of GNU GRUB <grub-devel@gnu.org>
Cc: raj.khem@gmail.com
Subject: Re: [PATCH V2] Fix build with glibc 2.20
Date: Mon, 15 Sep 2014 20:01:07 +0400 [thread overview]
Message-ID: <20140915200107.48eb63a4@opensuse.site> (raw)
In-Reply-To: <1409732108-24146-1-git-send-email-raj.khem@gmail.com>
В Wed, 3 Sep 2014 01:15:08 -0700
Khem Raj <raj.khem@gmail.com> пишет:
> * grub-core/kern/emu/hostfs.c: squahes below warning
> warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
>
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
>
> Upstream-Status: Submitted
> ---
> grub-core/kern/emu/hostfs.c | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/grub-core/kern/emu/hostfs.c b/grub-core/kern/emu/hostfs.c
> index 7e725f6..823116d 100644
> --- a/grub-core/kern/emu/hostfs.c
> +++ b/grub-core/kern/emu/hostfs.c
> @@ -19,7 +19,11 @@
>
> #include <config-util.h>
>
> +/* Legacy feature macro.*/
> #define _BSD_SOURCE
> +/* New feature macro that provides everything _BSD_SOURCE and
> + * _SVID_SOURCE provided and possibly more. */
> +#define _DEFAULT_SOURCE
> #include <grub/fs.h>
> #include <grub/file.h>
> #include <grub/disk.h>
Added ChangeLog and pushed.
prev parent reply other threads:[~2014-09-15 16:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-03 8:15 [PATCH V2] Fix build with glibc 2.20 Khem Raj
2014-09-15 16:01 ` Andrei Borzenkov [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=20140915200107.48eb63a4@opensuse.site \
--to=arvidjaar@gmail.com \
--cc=grub-devel@gnu.org \
--cc=raj.khem@gmail.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.