From c25c83dd897d9b20e4f8793ac50d4ee3802454af Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Thu, 18 Apr 2013 17:10:20 +0200 Subject: 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) (From OE-Core rev: 0785489d558c34cacf5cb349949a15e27084efbf) Signed-off-by: Koen Kooi Signed-off-by: Saul Wold Signed-off-by: Richard Purdie --- meta/recipes-bsp/grub/grub-efi-native_2.00.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'meta/recipes-bsp/grub/grub-efi-native_2.00.bb') 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 14ab9ea7b9..b7b92cb4d2 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" # FIXME: We should be able to optionally drop freetype as a dependency DEPENDS = "autogen-native" RDEPENDS_${PN} = "diffutils freetype" -PR = "r1" +PR = "r2" # Native packages do not normally rebuild when the target changes. # 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 \ file://grub-2.00-disable-help2man.patch \ file://check-if-liblzma-is-disabled.patch \ file://grub-no-unused-result.patch \ + file://grub-2.00-ignore-gnulib-gets-stupidity.patch \ " SRC_URI[md5sum] = "e927540b6eda8b024fb0391eeaa4091c" SRC_URI[sha256sum] = "65b39a0558f8c802209c574f4d02ca263a804e8a564bc6caf1cd0fd3b3cc11e3" -- cgit v1.2.3-54-g00ecf