diff options
author | Khem Raj <raj.khem@gmail.com> | 2018-06-28 17:33:52 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2018-10-17 04:46:35 +0300 |
commit | 5df61a292d088ce734a298dab3e27ce68813a849 (patch) | |
tree | e3a9d3b04af964895e10a67902ef090d0cbae9b9 /meta-openembedded/meta-oe/recipes-core/dbus/dbus-broker/0002-Use-getenv-instead-of-secure_getenv-on-musl.patch | |
parent | c29391cd97ce89725d2c109631e9d5797234a4d1 (diff) | |
download | openbmc-5df61a292d088ce734a298dab3e27ce68813a849.tar.xz |
dbus-broker: Upgrade to latest and fix build on musl
(From meta-openembedded rev: 3e2d529c34ebe02babb5daf95e31e587fdcb3d6f)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Change-Id: Ib3ae5c632f18aa33328d2fc53761be8768c87dd7
Signed-off-by: William A. Kennington III <wak@google.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-openembedded/meta-oe/recipes-core/dbus/dbus-broker/0002-Use-getenv-instead-of-secure_getenv-on-musl.patch')
-rw-r--r-- | meta-openembedded/meta-oe/recipes-core/dbus/dbus-broker/0002-Use-getenv-instead-of-secure_getenv-on-musl.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/meta-openembedded/meta-oe/recipes-core/dbus/dbus-broker/0002-Use-getenv-instead-of-secure_getenv-on-musl.patch b/meta-openembedded/meta-oe/recipes-core/dbus/dbus-broker/0002-Use-getenv-instead-of-secure_getenv-on-musl.patch new file mode 100644 index 000000000..bebd2145f --- /dev/null +++ b/meta-openembedded/meta-oe/recipes-core/dbus/dbus-broker/0002-Use-getenv-instead-of-secure_getenv-on-musl.patch @@ -0,0 +1,29 @@ +From 95a5541f8b75f7896ee6e5e71edd61838cab3c8b Mon Sep 17 00:00:00 2001 +From: Khem Raj <raj.khem@gmail.com> +Date: Thu, 28 Jun 2018 07:16:34 -0700 +Subject: [PATCH] Use getenv instead of secure_getenv on musl + +musl doesnt implement secure version + +Signed-off-by: Khem Raj <raj.khem@gmail.com> +--- +Upstream-Status: Pending + + src/launch/main.c | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/src/launch/main.c b/src/launch/main.c +index 6475ae6..6468d84 100644 +--- a/src/launch/main.c ++++ b/src/launch/main.c +@@ -30,6 +30,10 @@ + #include "util/log.h" + #include "util/misc.h" + ++#ifndef __GLIBC__ ++#define secure_getenv getenv ++#endif ++ + typedef struct Manager Manager; + typedef struct Service Service; + |