From: Esben Haabendal <esben.haabendal@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 3/3] gummiboot: fix compatibility with newer glibc versions
Date: Tue, 19 Mar 2019 12:28:52 +0100 [thread overview]
Message-ID: <20190319112852.9592-4-esben.haabendal@gmail.com> (raw)
In-Reply-To: <20190319112852.9592-1-esben.haabendal@gmail.com>
From: Esben Haabendal <esben@haabendal.dk>
Signed-off-by: Esben Haabendal <esben@haabendal.dk>
---
boot/gummiboot/0001-glibc-2.25-fix.patch | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
create mode 100644 boot/gummiboot/0001-glibc-2.25-fix.patch
diff --git a/boot/gummiboot/0001-glibc-2.25-fix.patch b/boot/gummiboot/0001-glibc-2.25-fix.patch
new file mode 100644
index 000000000000..377098f9ea60
--- /dev/null
+++ b/boot/gummiboot/0001-glibc-2.25-fix.patch
@@ -0,0 +1,16 @@
+Allow building with glibc with sys/sysmacros.h removed from sys/types.h.
+
+See https://sourceware.org/ml/libc-alpha/2015-11/msg00253.html for why
+this was done.
+
+diff -urN gummiboot-43~orig/src/setup/setup.c gummiboot-43/src/setup/setup.c
+--- gummiboot-43~orig/src/setup/setup.c 2019-03-14 22:28:34.533206018 +0100
++++ gummiboot-43/src/setup/setup.c 2019-03-15 06:40:07.895651992 +0100
+@@ -37,6 +37,7 @@
+ #include <ftw.h>
+ #include <stdbool.h>
+ #include <blkid.h>
++#include <sys/sysmacros.h>
+
+ #include "efivars.h"
+
--
2.21.0
next prev parent reply other threads:[~2019-03-19 11:28 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-19 11:28 [Buildroot] [PATCH 0/3] Gummiboot fixup Esben Haabendal
2019-03-19 11:28 ` [Buildroot] [PATCH 1/3] gummiboot: use new official upstream git repository Esben Haabendal
2019-03-19 11:28 ` [Buildroot] [PATCH 2/3] gummiboot: upgrade to last commit before being removed Esben Haabendal
2019-03-19 11:28 ` Esben Haabendal [this message]
2019-03-19 21:02 ` [Buildroot] [PATCH 3/3] gummiboot: fix compatibility with newer glibc versions Thomas Petazzoni
2019-03-19 18:56 ` [Buildroot] [PATCH 0/3] Gummiboot fixup Peter Korsgaard
[not found] ` <CAOR3GqXSxZw3m+OD3FLCFOR0Gi-v3zNJGe2+3Bhy7R6av7LVhQ@mail.gmail.com>
2019-03-20 13:46 ` Peter Korsgaard
[not found] ` <CAOR3GqU17TUskOwG_8DfwrcEt_AJcqzgD8=5j1c2Wa+LVveeSg@mail.gmail.com>
2019-03-20 14:36 ` Peter Korsgaard
2019-03-20 15:03 ` Esben Haabendal
2019-03-20 16:30 ` 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=20190319112852.9592-4-esben.haabendal@gmail.com \
--to=esben.haabendal@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