]> code.ossystems Code Review - openembedded-core.git/commit
grub: Fix build with gcc-6
authorKhem Raj <raj.khem@gmail.com>
Wed, 11 May 2016 17:35:17 +0000 (10:35 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 27 Jul 2016 07:44:12 +0000 (08:44 +0100)
commitc1ad29a96dc38da87290b024c8b5a502baeea5e9
treeba3193d38d7254f7798769903d42206ff55dad14
parentdbf7a797b22bef8ccfcc4df7b76736619bf13418
grub: Fix build with gcc-6

Backport patch which silences following

'../../grub-2.00/grub-core/'`gfxmenu/model.c
../../grub-2.00/grub-core/gettext/gettext.c:37:36: error: storage size of 'main_context' isn't known
 static struct grub_gettext_context main_context, secondary_context;
                                    ^~~~~~~~~~~~
make[3]: *** [gettext/gettext_module-gettext.o] Error 1

(From OE-Core rev: 4efac9861ab59d696bdc81ea59497febfa2d0dc8)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-bsp/grub/files/0001-grub-core-gettext-gettext.c-main_context-secondary_c.patch [new file with mode: 0644]
meta/recipes-bsp/grub/grub2.inc