diff options
author | Koen Kooi <koen@dominion.thruhere.net> | 2013-04-18 17:10:20 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-05-22 17:13:53 +0100 |
commit | d6e4ac6f5fde9901e5e145b46abe44a3a3bacffb (patch) | |
tree | 6259c6b9380f0c0cc526d32e27832246a0ab4659 /meta/recipes-bsp/grub/grub-efi-native_2.00.bb | |
parent | 3fecd5837062fcd6962c256cf777c93c0ac1005a (diff) | |
download | poky-d6e4ac6f5fde9901e5e145b46abe44a3a3bacffb.tar.gz |
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 master rev: 261e377b08388a288ee521a3629877b89e18e42b)
(From OE-Core rev: 48fb1f19875cac24cb990807523f6e513c7031aa)
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>
Diffstat (limited to 'meta/recipes-bsp/grub/grub-efi-native_2.00.bb')
-rw-r--r-- | meta/recipes-bsp/grub/grub-efi-native_2.00.bb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-bsp/grub/grub-efi-native_2.00.bb b/meta/recipes-bsp/grub/grub-efi-native_2.00.bb index 6f8ba8e84f..2a5dad7104 100644 --- a/meta/recipes-bsp/grub/grub-efi-native_2.00.bb +++ b/meta/recipes-bsp/grub/grub-efi-native_2.00.bb | |||
@@ -16,7 +16,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" | |||
16 | # FIXME: We should be able to optionally drop freetype as a dependency | 16 | # FIXME: We should be able to optionally drop freetype as a dependency |
17 | DEPENDS = "autogen-native" | 17 | DEPENDS = "autogen-native" |
18 | RDEPENDS_${PN} = "diffutils freetype" | 18 | RDEPENDS_${PN} = "diffutils freetype" |
19 | PR = "r1" | 19 | PR = "r2" |
20 | 20 | ||
21 | # Native packages do not normally rebuild when the target changes. | 21 | # Native packages do not normally rebuild when the target changes. |
22 | # Ensure this is built once per HOST-TARGET pair. | 22 | # Ensure this is built once per HOST-TARGET pair. |
@@ -28,6 +28,7 @@ SRC_URI = "ftp://ftp.gnu.org/gnu/grub/grub-${PV}.tar.gz \ | |||
28 | file://grub-2.00-disable-help2man.patch \ | 28 | file://grub-2.00-disable-help2man.patch \ |
29 | file://check-if-liblzma-is-disabled.patch \ | 29 | file://check-if-liblzma-is-disabled.patch \ |
30 | file://grub-no-unused-result.patch \ | 30 | file://grub-no-unused-result.patch \ |
31 | file://grub-2.00-ignore-gnulib-gets-stupidity.patch \ | ||
31 | " | 32 | " |
32 | SRC_URI[md5sum] = "e927540b6eda8b024fb0391eeaa4091c" | 33 | SRC_URI[md5sum] = "e927540b6eda8b024fb0391eeaa4091c" |
33 | SRC_URI[sha256sum] = "65b39a0558f8c802209c574f4d02ca263a804e8a564bc6caf1cd0fd3b3cc11e3" | 34 | SRC_URI[sha256sum] = "65b39a0558f8c802209c574f4d02ca263a804e8a564bc6caf1cd0fd3b3cc11e3" |