summaryrefslogtreecommitdiffstats
path: root/meta-oe
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe')
-rw-r--r--meta-oe/recipes-support/udisks/udisks/0001-include-sys-sysmacros.h.patch77
-rw-r--r--meta-oe/recipes-support/udisks/udisks_1.0.5.bb14
2 files changed, 84 insertions, 7 deletions
diff --git a/meta-oe/recipes-support/udisks/udisks/0001-include-sys-sysmacros.h.patch b/meta-oe/recipes-support/udisks/udisks/0001-include-sys-sysmacros.h.patch
new file mode 100644
index 000000000..f140793c5
--- /dev/null
+++ b/meta-oe/recipes-support/udisks/udisks/0001-include-sys-sysmacros.h.patch
@@ -0,0 +1,77 @@
1From 64f051963d6cdeebd19f9e7f0a7e584a1f7acc60 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 11 Aug 2018 19:12:57 -0700
4Subject: [PATCH] include sys/sysmacros.h
5
6fixes build with glibc 2.28+
7
8Upstream-Status: Pending
9Signed-off-by: Khem Raj <raj.khem@gmail.com>
10---
11 src/daemon.c | 1 +
12 src/device.c | 1 +
13 src/mount-monitor.c | 1 +
14 tools/udisks.c | 1 +
15 tools/umount-udisks.c | 1 +
16 5 files changed, 5 insertions(+)
17
18diff --git a/src/daemon.c b/src/daemon.c
19index 14e952f..2c61cfb 100644
20--- a/src/daemon.c
21+++ b/src/daemon.c
22@@ -39,6 +39,7 @@
23 #include <errno.h>
24 #include <string.h>
25 #include <sys/types.h>
26+#include <sys/sysmacros.h>
27 #include <sys/stat.h>
28 #include <sys/time.h>
29 #include <sys/resource.h>
30diff --git a/src/device.c b/src/device.c
31index d73f9d6..5911d78 100644
32--- a/src/device.c
33+++ b/src/device.c
34@@ -29,6 +29,7 @@
35 #include <errno.h>
36 #include <string.h>
37 #include <sys/types.h>
38+#include <sys/sysmacros.h>
39 #include <sys/wait.h>
40 #include <sys/stat.h>
41 #include <sys/time.h>
42diff --git a/src/mount-monitor.c b/src/mount-monitor.c
43index 573a69c..ccf3365 100644
44--- a/src/mount-monitor.c
45+++ b/src/mount-monitor.c
46@@ -28,6 +28,7 @@
47 #include <errno.h>
48 #include <string.h>
49 #include <sys/types.h>
50+#include <sys/sysmacros.h>
51 #include <sys/stat.h>
52 #include <mntent.h>
53
54diff --git a/tools/udisks.c b/tools/udisks.c
55index d30159b..f24a30a 100644
56--- a/tools/udisks.c
57+++ b/tools/udisks.c
58@@ -29,6 +29,7 @@
59 #include <errno.h>
60 #include <string.h>
61 #include <sys/types.h>
62+#include <sys/sysmacros.h>
63 #include <sys/stat.h>
64 #include <sys/wait.h>
65 #include <fcntl.h>
66diff --git a/tools/umount-udisks.c b/tools/umount-udisks.c
67index 2813fe0..5cf6b4d 100644
68--- a/tools/umount-udisks.c
69+++ b/tools/umount-udisks.c
70@@ -29,6 +29,7 @@
71 #include <errno.h>
72 #include <string.h>
73 #include <sys/types.h>
74+#include <sys/sysmacros.h>
75 #include <sys/stat.h>
76 #include <fcntl.h>
77 #include <pwd.h>
diff --git a/meta-oe/recipes-support/udisks/udisks_1.0.5.bb b/meta-oe/recipes-support/udisks/udisks_1.0.5.bb
index e33266001..7cd999221 100644
--- a/meta-oe/recipes-support/udisks/udisks_1.0.5.bb
+++ b/meta-oe/recipes-support/udisks/udisks_1.0.5.bb
@@ -11,13 +11,13 @@ DEPENDS += "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \
11 dbus-glib-native \ 11 dbus-glib-native \
12" 12"
13 13
14SRC_URI = " \ 14SRC_URI = "http://hal.freedesktop.org/releases/${BPN}-${PV}.tar.gz;name=${BPN} \
15 http://hal.freedesktop.org/releases/${BPN}-${PV}.tar.gz;name=${BPN} \ 15 file://optional-depends.patch \
16 file://optional-depends.patch \ 16 file://0001-fix-build-with-newer-glibc-versions.patch \
17 file://0001-fix-build-with-newer-glibc-versions.patch \ 17 file://udisks-1.0.5-fix-service-file.patch \
18 file://udisks-1.0.5-fix-service-file.patch \ 18 file://0001-Make-udev-rules-directory-configurable.patch \
19 file://0001-Make-udev-rules-directory-configurable.patch \ 19 file://0001-include-sys-sysmacros.h.patch \
20" 20 "
21 21
22SRC_URI[udisks.md5sum] = "70d48dcfe523a74cd7c7fbbc2847fcdd" 22SRC_URI[udisks.md5sum] = "70d48dcfe523a74cd7c7fbbc2847fcdd"
23SRC_URI[udisks.sha256sum] = "f2ec82eb0ea7e01dc299b5b29b3c18cdf861236ec43dcff66b3552b4b31c6f71" 23SRC_URI[udisks.sha256sum] = "f2ec82eb0ea7e01dc299b5b29b3c18cdf861236ec43dcff66b3552b4b31c6f71"