kumquat-buildroot/boot/grub2
Thomas Petazzoni 4770c4ef83 grub2: add patch to fix build with recent gcc versions
This commit backports a patch from upstream grub2 that fixes a build
issue occuring at least with recent gcc versions:

gettext/gettext.c:37:36: error: storage size of 'main_context' isn't known
 static struct grub_gettext_context main_context, secondary_context;

Fixes bug #8991.

Bug reproduced with:

BR2_x86_64=y
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_5=y
BR2_TOOLCHAIN_BUILDROOT_GLIBC=y
BR2_GCC_VERSION_6_X=y
BR2_TARGET_GRUB2=y
BR2_TARGET_GRUB2_X86_64_EFI=y
BR2_TARGET_GRUB2_BUILTIN_MODULES="boot linux ext2 fat squash4 part_msdos part_gpt normal efi_gop terminal"

and verified fixed after adding this patch.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-25 22:07:05 +02:00
..
0001-remove-gets.patch grub2: rename patch with the proper naming convention 2016-07-25 21:58:29 +02:00
0002-grub-core-gettext-gettext.c-main_context-secondary_c.patch grub2: add patch to fix build with recent gcc versions 2016-07-25 22:07:05 +02:00
Config.in boot/grub2: enable squashfs support by default 2016-03-29 03:02:05 +02:00
grub2.hash grub2: add hash 2015-03-03 21:57:49 +01:00
grub2.mk grub2: really disable liblzma 2016-06-15 23:01:18 +02:00
grub.cfg boot/grub2: add rootwait to default config 2016-03-10 22:21:35 +01:00