diff options
author | Khem Raj <raj.khem@gmail.com> | 2022-01-24 11:11:43 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-01-26 06:27:00 +0000 |
commit | e7ffa406dcaefd168b1641fee2f19ca3df850d53 (patch) | |
tree | 605ac6337bb21ef2d286627879eda3b082ceff00 /meta/recipes-core/systemd/systemd/0021-test-json.c-define-M_PIl.patch | |
parent | 603dffc49a2c0084ce73340fdf1d7c624d1a954e (diff) | |
download | poky-e7ffa406dcaefd168b1641fee2f19ca3df850d53.tar.gz |
systemd: Forward port musl patches
Redo the header include patch and add fixes for new code.
(From OE-Core rev: 7e35a575ef09a85e625a81e0b4d80b020e3e3a92)
Signed-off-by: Khem Raj <raj.khem@gmail.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 | 6 |
1 files changed, 2 insertions, 4 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 index 3fe5aeab13..dfab8fbbdf 100644 --- 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 | |||
@@ -14,11 +14,9 @@ Signed-off-by: Chen Qi <Qi.Chen@windriver.com> | |||
14 | src/test/test-json.c | 4 ++++ | 14 | src/test/test-json.c | 4 ++++ |
15 | 1 file changed, 4 insertions(+) | 15 | 1 file changed, 4 insertions(+) |
16 | 16 | ||
17 | diff --git a/src/test/test-json.c b/src/test/test-json.c | ||
18 | index 1d4b11945e..572c8cf9d0 100644 | ||
19 | --- a/src/test/test-json.c | 17 | --- a/src/test/test-json.c |
20 | +++ b/src/test/test-json.c | 18 | +++ b/src/test/test-json.c |
21 | @@ -13,6 +13,10 @@ | 19 | @@ -14,6 +14,10 @@ |
22 | #include "tests.h" | 20 | #include "tests.h" |
23 | #include "util.h" | 21 | #include "util.h" |
24 | 22 | ||
@@ -26,6 +24,6 @@ index 1d4b11945e..572c8cf9d0 100644 | |||
26 | +#define M_PIl 3.141592653589793238462643383279502884L | 24 | +#define M_PIl 3.141592653589793238462643383279502884L |
27 | +#endif | 25 | +#endif |
28 | + | 26 | + |
29 | static void test_tokenizer(const char *data, ...) { | 27 | static void test_tokenizer_one(const char *data, ...) { |
30 | unsigned line = 0, column = 0; | 28 | unsigned line = 0, column = 0; |
31 | void *state = NULL; | 29 | void *state = NULL; |