0002-Revert-efilink-fix-build-with-gcc-4.8.patch 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. From 1f7b2e5bd6603b30202a66b6317a41e2be85742b Mon Sep 17 00:00:00 2001
  2. From: Esben Haabendal <esben@haabendal.dk>
  3. Date: Tue, 26 Mar 2019 13:37:02 +0100
  4. Subject: [PATCH] Revert "efilink: fix build with gcc 4.8"
  5. This reverts commit 6335e5c697c57d8b5854b8202de3733bcb151ca6, as it breaks
  6. gcc builds with '-nostdinc' flag.
  7. The fix in 1a53d8f88a452847b25f9689f9a08dbcf82c86e4
  8. (Fix for problem with undeclared intptr_t type), which is also merged
  9. fixes the same problem, without causing breakage.
  10. Signed-off-by: Esben Haabendal <esben@haabendal.dk>
  11. Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
  12. [Upstream status:
  13. https://sourceforge.net/p/gnu-efi/code/merge-requests/6/]
  14. ---
  15. inc/efilink.h | 4 ----
  16. 1 file changed, 4 deletions(-)
  17. diff --git a/inc/efilink.h b/inc/efilink.h
  18. index b69a6fd..cc5aa2d 100644
  19. --- a/inc/efilink.h
  20. +++ b/inc/efilink.h
  21. @@ -1,10 +1,6 @@
  22. #ifndef _EFI_LINK_H
  23. #define _EFI_LINK_H
  24. -#if defined(__GNUC__)
  25. -#include <stdint.h>
  26. -#endif
  27. -
  28. /*++
  29. Copyright (c) 1998 Intel Corporation
  30. --
  31. 2.20.1