kumquat-buildroot/boot/syslinux/0008-The-EFI_PXE_BASE_CODE-struct-has-been-renamed-to-EFI.patch
Benoît Allard 9cd762de56 syslinux: add patches to build with the latest gnu-efi release
Signed-off-by: Benoît Allard <benoit.allard@greenbone.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-06-11 15:32:02 +02:00

31 lines
909 B
Diff

From 6e25d11a062ef49c8add24476cf1bb74aa67e906 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Beno=C3=AEt=20Allard?= <benoit.allard@greenbone.net>
Date: Fri, 9 Jun 2017 11:56:27 +0200
Subject: [PATCH] The EFI_PXE_BASE_CODE struct has been renamed to
EFI_PXE_BASE_CODE_PROTOCOL
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Signed-off-by: Benoît Allard <benoit.allard@greenbone.net>
---
efi/pxe.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/efi/pxe.c b/efi/pxe.c
index 6e59109..8060dff 100644
--- a/efi/pxe.c
+++ b/efi/pxe.c
@@ -90,7 +90,7 @@ struct embedded_dhcp_options embedded_dhcp_options =
void net_parse_dhcp(void)
{
EFI_PXE_BASE_CODE_MODE *mode;
- EFI_PXE_BASE_CODE *bc;
+ EFI_PXE_BASE_CODE_PROTOCOL *bc;
unsigned int pkt_len = sizeof(EFI_PXE_BASE_CODE_PACKET);
EFI_STATUS status;
uint8_t hardlen;
--
2.1.4