]> 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>
Fri, 13 May 2016 12:40:52 +0000 (13:40 +0100)
commit4efac9861ab59d696bdc81ea59497febfa2d0dc8
treee57b48e8dbe90102c89334d4b12c26438ead51cf
parentce1b37e29dc89b67dc698e856007b59faa16c4df
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

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