* [Buildroot] [PATCH] s6-linux-utils: fix build with glibc 2.28
@ 2018-09-18 12:36 Baruch Siach
2018-09-18 19:01 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Baruch Siach @ 2018-09-18 12:36 UTC (permalink / raw)
To: buildroot
Add upstream patch that adds needed header for the major/minor macros.
Fixes:
http://autobuild.buildroot.net/results/974/9742dfabd9b244e1381983dd05edd3e65504f0fe/
Cc: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
---
...s-sysmacros.h-because-glibc-is-glibc.patch | 27 +++++++++++++++++++
1 file changed, 27 insertions(+)
create mode 100644 package/s6-linux-utils/0001-Include-sys-sysmacros.h-because-glibc-is-glibc.patch
diff --git a/package/s6-linux-utils/0001-Include-sys-sysmacros.h-because-glibc-is-glibc.patch b/package/s6-linux-utils/0001-Include-sys-sysmacros.h-because-glibc-is-glibc.patch
new file mode 100644
index 000000000000..ac31394f2bae
--- /dev/null
+++ b/package/s6-linux-utils/0001-Include-sys-sysmacros.h-because-glibc-is-glibc.patch
@@ -0,0 +1,27 @@
+From bec661b6f037209c67fc7c9f022ee157c342ade6 Mon Sep 17 00:00:00 2001
+From: Laurent Bercot <ska-skaware@skarnet.org>
+Date: Thu, 5 Oct 2017 18:05:00 +0000
+Subject: [PATCH] Include sys/sysmacros.h because glibc is glibc
+
+Signed-off-by: Baruch Siach <baruch@tkos.co.il>
+---
+Upstream status: commit bec661b6f037
+
+ src/minutils/s6ps_ttycache.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/minutils/s6ps_ttycache.c b/src/minutils/s6ps_ttycache.c
+index 7fa4bc09e624..319356044da9 100644
+--- a/src/minutils/s6ps_ttycache.c
++++ b/src/minutils/s6ps_ttycache.c
+@@ -7,6 +7,7 @@
+ #include <string.h>
+ #include <stdint.h>
+ #include <sys/stat.h>
++#include <sys/sysmacros.h>
+ #include <errno.h>
+ #include <skalibs/types.h>
+ #include <skalibs/allreadwrite.h>
+--
+2.18.0
+
--
2.18.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH] s6-linux-utils: fix build with glibc 2.28
2018-09-18 12:36 [Buildroot] [PATCH] s6-linux-utils: fix build with glibc 2.28 Baruch Siach
@ 2018-09-18 19:01 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2018-09-18 19:01 UTC (permalink / raw)
To: buildroot
Hello,
On Tue, 18 Sep 2018 15:36:15 +0300, Baruch Siach wrote:
> Add upstream patch that adds needed header for the major/minor macros.
>
> Fixes:
> http://autobuild.buildroot.net/results/974/9742dfabd9b244e1381983dd05edd3e65504f0fe/
>
> Cc: Eric Le Bihan <eric.le.bihan.dev@free.fr>
> Signed-off-by: Baruch Siach <baruch@tkos.co.il>
> ---
> ...s-sysmacros.h-because-glibc-is-glibc.patch | 27 +++++++++++++++++++
> 1 file changed, 27 insertions(+)
> create mode 100644 package/s6-linux-utils/0001-Include-sys-sysmacros.h-because-glibc-is-glibc.patch
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-09-18 19:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-18 12:36 [Buildroot] [PATCH] s6-linux-utils: fix build with glibc 2.28 Baruch Siach
2018-09-18 19:01 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox