mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 06:06:32 +00:00
gnu-efi: fix build with gcc 4.8
Fixes: - http://autobuild.buildroot.org/results/a0ca37b5ed27af445344e3ac49dc87bb17512c50 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
99edc752c0
commit
07f1feec2c
35
package/gnu-efi/0001-efilink-fix-build-with-gcc-4.8.patch
Normal file
35
package/gnu-efi/0001-efilink-fix-build-with-gcc-4.8.patch
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
From 6335e5c697c57d8b5854b8202de3733bcb151ca6 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||||
|
Date: Fri, 18 Jan 2019 22:05:37 +0100
|
||||||
|
Subject: [PATCH] efilink: fix build with gcc 4.8
|
||||||
|
|
||||||
|
intptr_t is undefined without an include on stdint.h
|
||||||
|
|
||||||
|
Fixes:
|
||||||
|
- http://autobuild.buildroot.org/results/a0ca37b5ed27af445344e3ac49dc87bb17512c50
|
||||||
|
|
||||||
|
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||||
|
[Upstream status:
|
||||||
|
https://sourceforge.net/p/gnu-efi/code/merge-requests/3]
|
||||||
|
---
|
||||||
|
inc/efilink.h | 4 ++++
|
||||||
|
1 file changed, 4 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/inc/efilink.h b/inc/efilink.h
|
||||||
|
index cc5aa2d..b69a6fd 100644
|
||||||
|
--- a/inc/efilink.h
|
||||||
|
+++ b/inc/efilink.h
|
||||||
|
@@ -1,6 +1,10 @@
|
||||||
|
#ifndef _EFI_LINK_H
|
||||||
|
#define _EFI_LINK_H
|
||||||
|
|
||||||
|
+#if defined(__GNUC__)
|
||||||
|
+#include <stdint.h>
|
||||||
|
+#endif
|
||||||
|
+
|
||||||
|
/*++
|
||||||
|
|
||||||
|
Copyright (c) 1998 Intel Corporation
|
||||||
|
--
|
||||||
|
2.14.1
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user