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_18.bb (renamed from meta-oe/recipes-core/dbus/dbus-broker_git.bb) | 18 |
2 files changed, 46 insertions, 14 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 new file mode 100644 index 0000000000..8822e94fda --- /dev/null +++ b/meta-oe/recipes-core/dbus/dbus-broker/0001-c-ini-Fix-missing-sys-types.h-includes.patch | |||
| @@ -0,0 +1,42 @@ | |||
| 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_git.bb b/meta-oe/recipes-core/dbus/dbus-broker_18.bb index ac0f325a4d..af9af182ae 100644 --- a/meta-oe/recipes-core/dbus/dbus-broker_git.bb +++ b/meta-oe/recipes-core/dbus/dbus-broker_18.bb | |||
| @@ -6,18 +6,13 @@ SECTION = "base" | |||
| 6 | LICENSE = "Apache-2.0" | 6 | LICENSE = "Apache-2.0" |
| 7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=7b486c2338d225a1405d979ed2c15ce8" | 7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=7b486c2338d225a1405d979ed2c15ce8" |
| 8 | 8 | ||
| 9 | DEPENDS = "dbus glib-2.0 expat" | 9 | SRC_URI = "https://github.com/bus1/dbus-broker/releases/download/v${PV}/dbus-broker-${PV}.tar.xz" |
| 10 | 10 | SRC_URI[sha256sum] = "f29e77a4d7b386e835dbe6379f4308f0503d6077834ba734ea6782359b34cbb9" | |
| 11 | PV = "16+git${SRCPV}" | 11 | SRC_URI_append_libc-musl = "file://0001-c-ini-Fix-missing-sys-types.h-includes.patch" |
| 12 | SRCREV = "fc874afa0992d0c75ec25acb43d344679f0ee7d2" | ||
| 13 | |||
| 14 | SRC_URI = "gitsm://github.com/bus1/dbus-broker;protocol=git" | ||
| 15 | |||
| 16 | S = "${WORKDIR}/git" | ||
| 17 | 12 | ||
| 18 | inherit meson pkgconfig systemd distro_features_check | 13 | inherit meson pkgconfig systemd distro_features_check |
| 19 | 14 | ||
| 20 | EXTRA_OEMESON += "-Ddocs=false" | 15 | DEPENDS = "expat systemd" |
| 21 | 16 | ||
| 22 | REQUIRED_DISTRO_FEATURES = "systemd" | 17 | REQUIRED_DISTRO_FEATURES = "systemd" |
| 23 | 18 | ||
| @@ -25,8 +20,3 @@ SYSTEMD_SERVICE_${PN} = "${BPN}.service" | |||
| 25 | 20 | ||
| 26 | FILES_${PN} += "${systemd_system_unitdir}" | 21 | FILES_${PN} += "${systemd_system_unitdir}" |
| 27 | FILES_${PN} += "${systemd_user_unitdir}" | 22 | FILES_${PN} += "${systemd_user_unitdir}" |
| 28 | |||
| 29 | RDEPENDS_${PN} = "dbus" | ||
| 30 | |||
| 31 | BBCLASSEXTEND = "native" | ||
| 32 | |||
