diff options
-rw-r--r-- | meta-oe/recipes-core/dbus/dbus-broker/0001-c-ini-Fix-missing-sys-types.h-includes.patch | 42 | ||||
-rw-r--r-- | meta-oe/recipes-core/dbus/dbus-broker_19.bb (renamed from meta-oe/recipes-core/dbus/dbus-broker_18.bb) | 3 |
2 files changed, 1 insertions, 44 deletions
diff --git a/meta-oe/recipes-core/dbus/dbus-broker/0001-c-ini-Fix-missing-sys-types.h-includes.patch b/meta-oe/recipes-core/dbus/dbus-broker/0001-c-ini-Fix-missing-sys-types.h-includes.patch deleted file mode 100644 index 8822e94fda..0000000000 --- a/meta-oe/recipes-core/dbus/dbus-broker/0001-c-ini-Fix-missing-sys-types.h-includes.patch +++ /dev/null | |||
@@ -1,42 +0,0 @@ | |||
1 | From 0bb101ab41334588e366639e7bd41836e86f83be Mon Sep 17 00:00:00 2001 | ||
2 | From: "William A. Kennington III" <wak@google.com> | ||
3 | Date: Sun, 24 Feb 2019 07:54:31 -0800 | ||
4 | Subject: [PATCH] c-ini: Fix missing sys/types.h includes | ||
5 | |||
6 | Otherwise we see failures for a build against the musl libc which | ||
7 | doesn't include ssize_t definitions in c standard headers. | ||
8 | |||
9 | Upstream-Status: dbus-broker@a145943ec5d1723647d3ba01ef5d0ef8f9f4a565 | ||
10 | Signed-off-by: William A. Kennington III <wak@google.com> | ||
11 | --- | ||
12 | subprojects/c-ini/src/c-ini-reader.c | 1 + | ||
13 | subprojects/c-ini/src/c-ini.h | 1 + | ||
14 | 2 files changed, 2 insertions(+) | ||
15 | |||
16 | diff --git a/subprojects/c-ini/src/c-ini-reader.c b/subprojects/c-ini/src/c-ini-reader.c | ||
17 | index 1a25d5a..10de80e 100644 | ||
18 | --- a/subprojects/c-ini/src/c-ini-reader.c | ||
19 | +++ b/subprojects/c-ini/src/c-ini-reader.c | ||
20 | @@ -7,6 +7,7 @@ | ||
21 | #include <inttypes.h> | ||
22 | #include <stdlib.h> | ||
23 | #include <string.h> | ||
24 | +#include <sys/types.h> | ||
25 | #include "c-ini.h" | ||
26 | #include "c-ini-private.h" | ||
27 | |||
28 | diff --git a/subprojects/c-ini/src/c-ini.h b/subprojects/c-ini/src/c-ini.h | ||
29 | index 847e4d5..9c107b2 100644 | ||
30 | --- a/subprojects/c-ini/src/c-ini.h | ||
31 | +++ b/subprojects/c-ini/src/c-ini.h | ||
32 | @@ -66,6 +66,7 @@ extern "C" { | ||
33 | |||
34 | #include <inttypes.h> | ||
35 | #include <stdlib.h> | ||
36 | +#include <sys/types.h> | ||
37 | |||
38 | typedef struct CIniDomain CIniDomain; | ||
39 | typedef struct CIniEntry CIniEntry; | ||
40 | -- | ||
41 | 2.21.0.392.gf8f6787159e-goog | ||
42 | |||
diff --git a/meta-oe/recipes-core/dbus/dbus-broker_18.bb b/meta-oe/recipes-core/dbus/dbus-broker_19.bb index af9af182ae..82d8b8ba68 100644 --- a/meta-oe/recipes-core/dbus/dbus-broker_18.bb +++ b/meta-oe/recipes-core/dbus/dbus-broker_19.bb | |||
@@ -7,8 +7,7 @@ LICENSE = "Apache-2.0" | |||
7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=7b486c2338d225a1405d979ed2c15ce8" | 7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=7b486c2338d225a1405d979ed2c15ce8" |
8 | 8 | ||
9 | SRC_URI = "https://github.com/bus1/dbus-broker/releases/download/v${PV}/dbus-broker-${PV}.tar.xz" | 9 | SRC_URI = "https://github.com/bus1/dbus-broker/releases/download/v${PV}/dbus-broker-${PV}.tar.xz" |
10 | SRC_URI[sha256sum] = "f29e77a4d7b386e835dbe6379f4308f0503d6077834ba734ea6782359b34cbb9" | 10 | SRC_URI[sha256sum] = "1648227f5a347d4f38d8a29bb9295a73a25c3feb4f3e79e3f04cc847343da3ed" |
11 | SRC_URI_append_libc-musl = "file://0001-c-ini-Fix-missing-sys-types.h-includes.patch" | ||
12 | 11 | ||
13 | inherit meson pkgconfig systemd distro_features_check | 12 | inherit meson pkgconfig systemd distro_features_check |
14 | 13 | ||