0007-Update-the-longjump-calls-to-fit-the-new-declaration.patch 1004 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. From 3bd5c2d951421a89f76b2423e5810862f53486c1 Mon Sep 17 00:00:00 2001
  2. From: =?UTF-8?q?Beno=C3=AEt=20Allard?= <benoit.allard@greenbone.net>
  3. Date: Fri, 9 Jun 2017 11:59:43 +0200
  4. Subject: [PATCH] Update the longjump calls to fit the new declaration
  5. MIME-Version: 1.0
  6. Content-Type: text/plain; charset=UTF-8
  7. Content-Transfer-Encoding: 8bit
  8. Signed-off-by: Benoît Allard <benoit.allard@greenbone.net>
  9. ---
  10. efi/main.c | 3 +--
  11. 1 file changed, 1 insertion(+), 2 deletions(-)
  12. diff --git a/efi/main.c b/efi/main.c
  13. index 208fee4f..71d31a5c 100644
  14. --- a/efi/main.c
  15. +++ b/efi/main.c
  16. @@ -10,7 +10,6 @@
  17. #include <syslinux/firmware.h>
  18. #include <syslinux/linux.h>
  19. #include <sys/ansi.h>
  20. -#include <setjmp.h>
  21. #include "efi.h"
  22. #include "fio.h"
  23. @@ -30,7 +29,7 @@ uint32_t timer_irq;
  24. __export uint8_t KbdMap[256];
  25. char aux_seg[256];
  26. -static jmp_buf load_error_buf;
  27. +static jmp_buf *load_error_buf;
  28. static inline EFI_STATUS
  29. efi_close_protocol(EFI_HANDLE handle, EFI_GUID *guid, EFI_HANDLE agent,
  30. --
  31. 2.13.3