diff options
author | Tudor Florea <tudor.florea@enea.com> | 2014-10-16 03:05:19 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2014-10-16 03:05:19 +0200 |
commit | c527fd1f14c27855a37f2e8ac5346ce8d940ced2 (patch) | |
tree | bb002c1fdf011c41dbd2f0927bed23ecb5f83c97 /meta/recipes-bsp/grub/files/grub-2.00-ignore-gnulib-gets-stupidity.patch | |
download | poky-daisy-140929.tar.gz |
initial commit for Enea Linux 4.0-140929daisy-140929
Migrated from the internal git server on the daisy-enea-point-release branch
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta/recipes-bsp/grub/files/grub-2.00-ignore-gnulib-gets-stupidity.patch')
-rw-r--r-- | meta/recipes-bsp/grub/files/grub-2.00-ignore-gnulib-gets-stupidity.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/meta/recipes-bsp/grub/files/grub-2.00-ignore-gnulib-gets-stupidity.patch b/meta/recipes-bsp/grub/files/grub-2.00-ignore-gnulib-gets-stupidity.patch new file mode 100644 index 0000000000..70f60015c2 --- /dev/null +++ b/meta/recipes-bsp/grub/files/grub-2.00-ignore-gnulib-gets-stupidity.patch | |||
@@ -0,0 +1,28 @@ | |||
1 | From f66d54b934710f54999debb72e8b7c620edece1d Mon Sep 17 00:00:00 2001 | ||
2 | From: Peter Jones <pjones@redhat.com> | ||
3 | Date: Fri, 25 May 2012 15:28:19 -0400 | ||
4 | Subject: [PATCH] gnulib accused in build breaking shocker. | ||
5 | |||
6 | Upstream-Status: pending [Fedora will push this] | ||
7 | |||
8 | --- | ||
9 | grub-core/gnulib/stdio.in.h | 2 ++ | ||
10 | 1 file changed, 2 insertions(+) | ||
11 | |||
12 | diff --git a/grub-core/gnulib/stdio.in.h b/grub-core/gnulib/stdio.in.h | ||
13 | index 80b9dbf..69932d9 100644 | ||
14 | --- a/grub-core/gnulib/stdio.in.h | ||
15 | +++ b/grub-core/gnulib/stdio.in.h | ||
16 | @@ -141,7 +141,9 @@ _GL_WARN_ON_USE (fflush, "fflush is not always POSIX compliant - " | ||
17 | so any use of gets warrants an unconditional warning. Assume it is | ||
18 | always declared, since it is required by C89. */ | ||
19 | #undef gets | ||
20 | +#if 0 | ||
21 | _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); | ||
22 | +#endif | ||
23 | |||
24 | #if @GNULIB_FOPEN@ | ||
25 | # if @REPLACE_FOPEN@ | ||
26 | -- | ||
27 | 1.7.10.1 | ||
28 | |||