diff options
author | Khem Raj <raj.khem@gmail.com> | 2018-08-11 18:27:46 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2018-08-15 08:20:06 -0700 |
commit | d79f2d402358d3f3726c2d8b0265b179759ac80e (patch) | |
tree | 62521799b5d9bffd25243d96e05ae476e352fb8b /meta-gnome/recipes-support/usermode | |
parent | 0ec84a04e4aac546266133fee8313e2619582bae (diff) | |
download | meta-openembedded-d79f2d402358d3f3726c2d8b0265b179759ac80e.tar.gz |
usermode: Fix build with glibc 2.28+
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-gnome/recipes-support/usermode')
-rw-r--r-- | meta-gnome/recipes-support/usermode/usermode/0001-Include-sys-sysmacros.h-for-major-minor.patch | 25 | ||||
-rw-r--r-- | meta-gnome/recipes-support/usermode/usermode_1.112.bb | 1 |
2 files changed, 26 insertions, 0 deletions
diff --git a/meta-gnome/recipes-support/usermode/usermode/0001-Include-sys-sysmacros.h-for-major-minor.patch b/meta-gnome/recipes-support/usermode/usermode/0001-Include-sys-sysmacros.h-for-major-minor.patch new file mode 100644 index 000000000..277f6e21b --- /dev/null +++ b/meta-gnome/recipes-support/usermode/usermode/0001-Include-sys-sysmacros.h-for-major-minor.patch | |||
@@ -0,0 +1,25 @@ | |||
1 | From 75539659396b18110d5a52a8a32845254b4d8eca Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Sat, 11 Aug 2018 18:25:47 -0700 | ||
4 | Subject: [PATCH] Include sys/sysmacros.h for major/minor | ||
5 | |||
6 | usermount.c:238: undefined reference to `major' | ||
7 | |||
8 | Upstream-Status: Pending | ||
9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
10 | --- | ||
11 | usermount.c | 1 + | ||
12 | 1 file changed, 1 insertion(+) | ||
13 | |||
14 | diff --git a/usermount.c b/usermount.c | ||
15 | index 4107027..21ef77f 100644 | ||
16 | --- a/usermount.c | ||
17 | +++ b/usermount.c | ||
18 | @@ -40,6 +40,7 @@ | ||
19 | #include <sys/stat.h> | ||
20 | #include <sys/time.h> | ||
21 | #include <sys/types.h> | ||
22 | +#include <sys/sysmacros.h> | ||
23 | #include <errno.h> | ||
24 | #include <glob.h> | ||
25 | #include <libintl.h> | ||
diff --git a/meta-gnome/recipes-support/usermode/usermode_1.112.bb b/meta-gnome/recipes-support/usermode/usermode_1.112.bb index 51f81a1fa..82ccf3eda 100644 --- a/meta-gnome/recipes-support/usermode/usermode_1.112.bb +++ b/meta-gnome/recipes-support/usermode/usermode_1.112.bb | |||
@@ -17,6 +17,7 @@ SRC_URI = "https://releases.pagure.org/${BPN}/${BPN}-${PV}.tar.xz \ | |||
17 | file://0001-fix-compile-failure-against-musl-C-library.patch \ | 17 | file://0001-fix-compile-failure-against-musl-C-library.patch \ |
18 | file://0001-Makefile.am-Link-with-libm-for-powl-API.patch \ | 18 | file://0001-Makefile.am-Link-with-libm-for-powl-API.patch \ |
19 | file://0001-Missing-n-in-translated-string.patch \ | 19 | file://0001-Missing-n-in-translated-string.patch \ |
20 | file://0001-Include-sys-sysmacros.h-for-major-minor.patch \ | ||
20 | " | 21 | " |
21 | SRC_URI[md5sum] = "a766a9f7600f573fb6de4655d4162196" | 22 | SRC_URI[md5sum] = "a766a9f7600f573fb6de4655d4162196" |
22 | SRC_URI[sha256sum] = "37c4d667209da14082c08df6e48fe955d1532efebd5322f13f94683c6cc10370" | 23 | SRC_URI[sha256sum] = "37c4d667209da14082c08df6e48fe955d1532efebd5322f13f94683c6cc10370" |