From: Adrian Bunk <bunk@stusta.de>
To: Scott Murray <scott.murray@konsulko.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH v2] systemd: upgrade to 243
Date: Sat, 14 Sep 2019 01:11:23 +0300 [thread overview]
Message-ID: <20190913221123.GA31095@localhost> (raw)
In-Reply-To: <20190913215809.34402-1-scott.murray@konsulko.com>
On Fri, Sep 13, 2019 at 05:58:09PM -0400, Scott Murray wrote:
>...
> --- /dev/null
> +++ b/meta/recipes-core/systemd/systemd/0002-src-login-brightness.c-include-wait.h.patch
> @@ -0,0 +1,25 @@
> +Include wait.h
> +
> +Fixes:
> +src/login/logind-brightness.c:158:85: error: 'WEXITED' undeclared (first use in this function); did you mean 'WIFEXITED'?
> + 158 | r = sd_event_add_child(w->manager->event, &w->child_event_source, w->child, WEXITED, on_brightness_writer_exit, w);
> + | ^~~~~~~
>...
> +--- a/src/login/logind-brightness.c
> ++++ b/src/login/logind-brightness.c
> +@@ -1,5 +1,6 @@
> + /* SPDX-License-Identifier: LGPL-2.1+ */
> +
> ++#include <wait.h>
>...
This should be
#include <sys/wait.h>
> --- /dev/null
> +++ b/meta/recipes-core/systemd/systemd/0004-src-shared-cpu-set-util.h-add-__cpu_mask-definition.patch
> @@ -0,0 +1,54 @@
> +Handle __cpu_mask usage
> +
> +Fixes errors:
> +
> +src/test/test-cpu-set-util.c:18:54: error: '__cpu_mask' undeclared (first use in this function)
> +src/test/test-sizeof.c:73:14: error: '__cpu_mask' undeclared (first use in this function)
> +
> +__cpu_mask is an internal type of glibc's cpu_set implementation, not
> +part of the POSIX definition, which is problematic when building with
> +musl, which does not define a matching type. From inspection of musl's
> +sched.h, however, it is clear that the corresponding type would be long,
> +which does match glibc's actual __CPU_MASK_TYPE. So, add a typedef to
> +cpu-set-util.h defining __cpu_mask appropriately.
>...
> +--- a/src/shared/cpu-set-util.h
> ++++ b/src/shared/cpu-set-util.h
> +@@ -6,6 +6,8 @@
> + #include "macro.h"
> + #include "missing_syscall.h"
> +
> ++typedef long __cpu_mask;
>...
Signed looks wrong.
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
next prev parent reply other threads:[~2019-09-13 22:11 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-13 21:58 [PATCH v2] systemd: upgrade to 243 Scott Murray
2019-09-13 22:11 ` Adrian Bunk [this message]
2019-09-13 22:28 ` Scott Murray
2019-09-13 22:42 ` akuster808
2019-09-13 23:20 ` Scott Murray
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190913221123.GA31095@localhost \
--to=bunk@stusta.de \
--cc=openembedded-core@lists.openembedded.org \
--cc=scott.murray@konsulko.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox