diff options
author | Pavel Zhukov <pavel@zhukoff.net> | 2022-06-21 09:08:00 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-06-21 18:44:27 +0100 |
commit | 16797c1b94839db98de2e76f9bc71932e47fa3a6 (patch) | |
tree | 55d180f2424f2f1697cc120b8df4d36e1a9bef33 /meta/recipes-core/systemd/systemd/0021-test-json.c-define-M_PIl.patch | |
parent | 081d1410a03e9bc180d082452d5e1543cd8f8dfa (diff) | |
download | poky-16797c1b94839db98de2e76f9bc71932e47fa3a6.tar.gz |
systemd: Rebase patches on v251
Drop patches which are not needed anymore.
Rebase musl specific patches to aboid fuzz warnings
(From OE-Core rev: 3275cc6c2ecfd70ba134b49363c9cecbb0c2c0b2)
Signed-off-by: Pavel Zhukov <pavel.zhukov@huawei.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/systemd/systemd/0021-test-json.c-define-M_PIl.patch')
-rw-r--r-- | meta/recipes-core/systemd/systemd/0021-test-json.c-define-M_PIl.patch | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/meta/recipes-core/systemd/systemd/0021-test-json.c-define-M_PIl.patch b/meta/recipes-core/systemd/systemd/0021-test-json.c-define-M_PIl.patch deleted file mode 100644 index 82a01f732e..0000000000 --- a/meta/recipes-core/systemd/systemd/0021-test-json.c-define-M_PIl.patch +++ /dev/null | |||
@@ -1,35 +0,0 @@ | |||
1 | From e10a73de254b570bbc29b26423dbb86b4265bb05 Mon Sep 17 00:00:00 2001 | ||
2 | From: Chen Qi <Qi.Chen@windriver.com> | ||
3 | Date: Mon, 25 Feb 2019 16:53:06 +0800 | ||
4 | Subject: [PATCH] test-json.c: define M_PIl | ||
5 | |||
6 | Fix the following compile failure: | ||
7 | src/test/test-json.c:305:50: error: 'M_PIl' undeclared (first use in this function); did you mean 'M_PI'? | ||
8 | |||
9 | Upstream-Status: Inappropriate [musl specific] | ||
10 | |||
11 | This is fixed upstream where systemd no longer needs M_PIl so it could | ||
12 | be dropped when upgrading to 251+ see | ||
13 | https://github.com/systemd/systemd/commit/f9a1fd2a3b2d8212ba84ef1c3b55657ced34475e | ||
14 | |||
15 | Signed-off-by: Chen Qi <Qi.Chen@windriver.com> | ||
16 | |||
17 | --- | ||
18 | src/test/test-json.c | 4 ++++ | ||
19 | 1 file changed, 4 insertions(+) | ||
20 | |||
21 | diff --git a/src/test/test-json.c b/src/test/test-json.c | ||
22 | index b385edc269..5e5830238c 100644 | ||
23 | --- a/src/test/test-json.c | ||
24 | +++ b/src/test/test-json.c | ||
25 | @@ -14,6 +14,10 @@ | ||
26 | #include "tests.h" | ||
27 | #include "util.h" | ||
28 | |||
29 | +#ifndef M_PIl | ||
30 | +#define M_PIl 3.141592653589793238462643383279502884L | ||
31 | +#endif | ||
32 | + | ||
33 | static void test_tokenizer_one(const char *data, ...) { | ||
34 | unsigned line = 0, column = 0; | ||
35 | void *state = NULL; | ||