grub-efi-native: fix build on modern distributions without gets()
authorKoen Kooi <koen@dominion.thruhere.net>
Thu, 18 Apr 2013 15:10:20 +0000 (17:10 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 22 Apr 2013 13:45:03 +0000 (14:45 +0100)
commit9dfe508e1b0023e743ea56904fdaa74beb2f686a
treeb93e1a2b3701a9c1a568bdc16f79752186604f79
parent41c7ab454c2f9b6c871d6b48cff5151474e9ad0b
grub-efi-native: fix build on modern distributions without gets()

O irony: the grub2/gnulib nag macro that says "don't use gets, use fgets" breaks the build if you're using a recent (e)glibc release that has gets removed.

Fedora already #if 0's the check in grub, so I stole their patch.

(From OE-Core rev: 261e377b08388a288ee521a3629877b89e18e42b)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-bsp/grub/files/grub-2.00-ignore-gnulib-gets-stupidity.patch [new file with mode: 0644]
meta/recipes-bsp/grub/grub-efi-native_2.00.bb