Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] gnu-efi: fix build with gcc 4.8
Date: Fri, 18 Jan 2019 22:17:56 +0100	[thread overview]
Message-ID: <20190118211756.22606-1-fontaine.fabrice@gmail.com> (raw)

Fixes:
 - http://autobuild.buildroot.org/results/a0ca37b5ed27af445344e3ac49dc87bb17512c50

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 .../0001-efilink-fix-build-with-gcc-4.8.patch      | 35 ++++++++++++++++++++++
 1 file changed, 35 insertions(+)
 create mode 100644 package/gnu-efi/0001-efilink-fix-build-with-gcc-4.8.patch

diff --git a/package/gnu-efi/0001-efilink-fix-build-with-gcc-4.8.patch b/package/gnu-efi/0001-efilink-fix-build-with-gcc-4.8.patch
new file mode 100644
index 0000000000..57c78c9bd4
--- /dev/null
+++ b/package/gnu-efi/0001-efilink-fix-build-with-gcc-4.8.patch
@@ -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
+
-- 
2.14.1

             reply	other threads:[~2019-01-18 21:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-18 21:17 Fabrice Fontaine [this message]
2019-01-19 15:36 ` [Buildroot] [PATCH 1/1] gnu-efi: fix build with gcc 4.8 Peter Korsgaard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190118211756.22606-1-fontaine.fabrice@gmail.com \
    --to=fontaine.fabrice@gmail.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox