mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
usermode: Fix build with glibc 2.28+
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
0ec84a04e4
commit
d79f2d4023
|
|
@ -0,0 +1,25 @@
|
|||
From 75539659396b18110d5a52a8a32845254b4d8eca Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Sat, 11 Aug 2018 18:25:47 -0700
|
||||
Subject: [PATCH] Include sys/sysmacros.h for major/minor
|
||||
|
||||
usermount.c:238: undefined reference to `major'
|
||||
|
||||
Upstream-Status: Pending
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
---
|
||||
usermount.c | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/usermount.c b/usermount.c
|
||||
index 4107027..21ef77f 100644
|
||||
--- a/usermount.c
|
||||
+++ b/usermount.c
|
||||
@@ -40,6 +40,7 @@
|
||||
#include <sys/stat.h>
|
||||
#include <sys/time.h>
|
||||
#include <sys/types.h>
|
||||
+#include <sys/sysmacros.h>
|
||||
#include <errno.h>
|
||||
#include <glob.h>
|
||||
#include <libintl.h>
|
||||
|
|
@ -17,6 +17,7 @@ SRC_URI = "https://releases.pagure.org/${BPN}/${BPN}-${PV}.tar.xz \
|
|||
file://0001-fix-compile-failure-against-musl-C-library.patch \
|
||||
file://0001-Makefile.am-Link-with-libm-for-powl-API.patch \
|
||||
file://0001-Missing-n-in-translated-string.patch \
|
||||
file://0001-Include-sys-sysmacros.h-for-major-minor.patch \
|
||||
"
|
||||
SRC_URI[md5sum] = "a766a9f7600f573fb6de4655d4162196"
|
||||
SRC_URI[sha256sum] = "37c4d667209da14082c08df6e48fe955d1532efebd5322f13f94683c6cc10370"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user