grub: fix patch handling after AUTOTARGETS conversion

Closes #4093

AUTOTARGETS doesn't handle compressed patches, so the '400' patch did
not get applied.

Fix it by extracting the patch. With this, the '500' patch is no longer
needed.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
Peter Korsgaard
2011-08-26 07:13:33 +02:00
parent d881a14f9b
commit cb6c2c4278
4 changed files with 49484 additions and 14 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -1,14 +0,0 @@
--- grub-0.97.orig/netboot/main.c 2004-05-21 00:19:33.000000000 +0200
+++ grub-0.97/netboot/main.c 2007-07-20 02:31:28.000000000 +0200
@@ -54,9 +54,9 @@
static int vendorext_isvalid;
static unsigned long netmask;
-static struct bootpd_t bootp_data;
+struct bootpd_t bootp_data;
static unsigned long xid;
-static unsigned char *end_of_rfc1533 = NULL;
+unsigned char *end_of_rfc1533 = NULL;
#ifndef NO_DHCP_SUPPORT
#endif /* NO_DHCP_SUPPORT */