diff options
Diffstat (limited to 'meta-oe/recipes-core/dbus/dbus-broker/0004-launcher-fix-build-with-musl-libc.patch')
-rw-r--r-- | meta-oe/recipes-core/dbus/dbus-broker/0004-launcher-fix-build-with-musl-libc.patch | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/meta-oe/recipes-core/dbus/dbus-broker/0004-launcher-fix-build-with-musl-libc.patch b/meta-oe/recipes-core/dbus/dbus-broker/0004-launcher-fix-build-with-musl-libc.patch deleted file mode 100644 index 0348d97225..0000000000 --- a/meta-oe/recipes-core/dbus/dbus-broker/0004-launcher-fix-build-with-musl-libc.patch +++ /dev/null | |||
@@ -1,38 +0,0 @@ | |||
1 | From fc1d26dd08c48c04fc9883b36a94c219aba2091c Mon Sep 17 00:00:00 2001 | ||
2 | From: Luca Boccassi <luca.boccassi@microsoft.com> | ||
3 | Date: Mon, 28 Oct 2019 14:31:38 +0000 | ||
4 | Subject: [PATCH] launcher: fix build with musl libc | ||
5 | MIME-Version: 1.0 | ||
6 | Content-Type: text/plain; charset=UTF-8 | ||
7 | Content-Transfer-Encoding: 8bit | ||
8 | |||
9 | ../src/launch/launcher.c: In function ‘launcher_fork’: | ||
10 | ../src/launch/launcher.c:378:60: error: ‘WEXITED’ undeclared (first use in this function); did you mean ‘WIFEXITED’? | ||
11 | r = sd_event_add_child(launcher->event, NULL, pid, WEXITED, launcher_on_child_exit, launcher); | ||
12 | ^~~~~~~ | ||
13 | WIFEXITED | ||
14 | |||
15 | Include sys/wait.h which defines it. | ||
16 | |||
17 | Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com> | ||
18 | Suggested-by: Khem Raj <raj.khem@gmail.com> | ||
19 | Upstream-Status: pending https://github.com/bus1/dbus-broker/pull/214 | ||
20 | --- | ||
21 | src/launch/launcher.c | 1 + | ||
22 | 1 file changed, 1 insertion(+) | ||
23 | |||
24 | diff --git a/src/launch/launcher.c b/src/launch/launcher.c | ||
25 | index 2ec4bda..1f38fcf 100644 | ||
26 | --- a/src/launch/launcher.c | ||
27 | +++ b/src/launch/launcher.c | ||
28 | @@ -10,6 +10,7 @@ | ||
29 | #include <stdlib.h> | ||
30 | #include <sys/prctl.h> | ||
31 | #include <sys/un.h> | ||
32 | +#include <sys/wait.h> | ||
33 | #include <systemd/sd-bus.h> | ||
34 | #include <systemd/sd-daemon.h> | ||
35 | #include <systemd/sd-event.h> | ||
36 | -- | ||
37 | 2.20.1 | ||
38 | |||