summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/systemd/systemd/0021-test-json.c-define-M_PIl.patch
diff options
context:
space:
mode:
authorPavel Zhukov <pavel@zhukoff.net>2022-06-21 09:08:00 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-06-21 18:44:27 +0100
commit16797c1b94839db98de2e76f9bc71932e47fa3a6 (patch)
tree55d180f2424f2f1697cc120b8df4d36e1a9bef33 /meta/recipes-core/systemd/systemd/0021-test-json.c-define-M_PIl.patch
parent081d1410a03e9bc180d082452d5e1543cd8f8dfa (diff)
downloadpoky-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.patch35
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 @@
1From e10a73de254b570bbc29b26423dbb86b4265bb05 Mon Sep 17 00:00:00 2001
2From: Chen Qi <Qi.Chen@windriver.com>
3Date: Mon, 25 Feb 2019 16:53:06 +0800
4Subject: [PATCH] test-json.c: define M_PIl
5
6Fix the following compile failure:
7src/test/test-json.c:305:50: error: 'M_PIl' undeclared (first use in this function); did you mean 'M_PI'?
8
9Upstream-Status: Inappropriate [musl specific]
10
11This is fixed upstream where systemd no longer needs M_PIl so it could
12be dropped when upgrading to 251+ see
13https://github.com/systemd/systemd/commit/f9a1fd2a3b2d8212ba84ef1c3b55657ced34475e
14
15Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
16
17---
18 src/test/test-json.c | 4 ++++
19 1 file changed, 4 insertions(+)
20
21diff --git a/src/test/test-json.c b/src/test/test-json.c
22index 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;