sys-boot/refind: fix build against gnu-efi-3.0.5

Adds upstream patch for building against gnu-efi-3.0.5 which added functions
causing namespace collisions.

Gentoo-Bug: 616668
Package-Manager: Portage-2.3.5, Repoman-2.3.2
This commit is contained in:
Sam Jorna
2017-05-15 15:11:28 +10:00
parent a1fe2b2d9e
commit 7c4e72babf
2 changed files with 1390 additions and 0 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -54,6 +54,9 @@ pkg_setup() {
src_prepare() {
default
# bug 616668 - build fails against gnu-efi-3.0.5
eapply "${FILESDIR}"/"${PF}"-fix_build_gnuefi-3.0.5.patch
# bug 598647 - PIE not supported
sed -e 's:CFLAGS =:& -fno-PIE:' -i "${S}/Make.common" || die