diff --git a/srcpkgs/grub/grub-x86_64-efi.template b/srcpkgs/grub/grub-x86_64-efi.template index 120f3d8f08f..5e378c89f22 100644 --- a/srcpkgs/grub/grub-x86_64-efi.template +++ b/srcpkgs/grub/grub-x86_64-efi.template @@ -3,9 +3,6 @@ noarch=yes depends="grub>=$version dosfstools efibootmgr" short_desc="${short_desc} -- x86_64 EFI support" -long_desc="${long_desc} - - This package contains supports for x86_64 EFI booting." do_install() { vmove usr/lib/grub/x86_64-efi usr/lib/grub diff --git a/srcpkgs/grub/patches/gettext_quiet.patch b/srcpkgs/grub/patches/gettext_quiet.patch new file mode 100644 index 00000000000..83a894a6bf3 --- /dev/null +++ b/srcpkgs/grub/patches/gettext_quiet.patch @@ -0,0 +1,24 @@ +Description: Silence error messages when translations are unavailable +Author: Colin Watson +Bug: https://savannah.gnu.org/bugs/?35880 +Last-Update: 2012-09-06 + +Index: grub-core/gettext/gettext.c +=================================================================== +--- grub-core/gettext/gettext.c ++++ grub-core/gettext/gettext.c +@@ -412,6 +412,14 @@ + + grub_free (lang); + } ++ ++ /* If no translations are available, fall back to untranslated text. */ ++ if (err == GRUB_ERR_FILE_NOT_FOUND) ++ { ++ grub_errno = GRUB_ERR_NONE; ++ return 0; ++ } ++ + return err; + } + diff --git a/srcpkgs/grub/template b/srcpkgs/grub/template index 1ab964465e8..4279f9f3f76 100644 --- a/srcpkgs/grub/template +++ b/srcpkgs/grub/template @@ -1,23 +1,18 @@ # Template file for 'grub' pkgname=grub version="2.00" -revision=8 +revision=9 short_desc="GRand Unified Bootloader 2" maintainer="Juan RP " license="GPL-3" homepage="http://www.gnu.org/software/grub/" distfiles="$GNU_SITE/grub/grub-$version.tar.xz" checksum=784ec38e7edc32239ad75b8e66df04dc8bfb26d88681bc9f627133a6eb85c458 -long_desc=" - This is GRUB 2, the second version of the GRand Unified Bootloader. - GRUB 2 is rewritten from scratch to make GNU GRUB cleaner, safer, more - robust, more powerful, and more portable." makedepends="flex libusb-compat-devel ncurses-devel freetype-devel liblzma-devel device-mapper-devel font-unifont-bdf fuse-devel" depends="os-prober" - conf_files="/etc/default/grub /etc/grub.d/40_custom" if [ "$XBPS_MACHINE" = "x86_64" ]; then