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