diff options
Diffstat (limited to 'meta/recipes-core/systemd/systemd/0001-meson-Fix-reallocarray-check.patch')
-rw-r--r-- | meta/recipes-core/systemd/systemd/0001-meson-Fix-reallocarray-check.patch | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/meta/recipes-core/systemd/systemd/0001-meson-Fix-reallocarray-check.patch b/meta/recipes-core/systemd/systemd/0001-meson-Fix-reallocarray-check.patch deleted file mode 100644 index 1229dd6e17..0000000000 --- a/meta/recipes-core/systemd/systemd/0001-meson-Fix-reallocarray-check.patch +++ /dev/null | |||
@@ -1,30 +0,0 @@ | |||
1 | From 1ebf1a1df17afd8b89f84b1928a89069035bf20b Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Sat, 12 Dec 2020 16:15:57 -0800 | ||
4 | Subject: [PATCH] meson: Fix reallocarray check | ||
5 | |||
6 | reallocarray() is defined in stdlib.h, so that would be right header to | ||
7 | check for its presense. | ||
8 | |||
9 | Upstream-Status: Submitted [https://github.com/systemd/systemd/pull/17951] | ||
10 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
11 | --- | ||
12 | meson.build | 2 +- | ||
13 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
14 | |||
15 | diff --git a/meson.build b/meson.build | ||
16 | index d205f846c7..e0a3c53529 100644 | ||
17 | --- a/meson.build | ||
18 | +++ b/meson.build | ||
19 | @@ -517,7 +517,7 @@ foreach ident : [ | ||
20 | #include <sys/stat.h> | ||
21 | #include <unistd.h>'''], | ||
22 | ['explicit_bzero' , '''#include <string.h>'''], | ||
23 | - ['reallocarray', '''#include <malloc.h>'''], | ||
24 | + ['reallocarray', '''#include <stdlib.h>'''], | ||
25 | ['set_mempolicy', '''#include <stdlib.h> | ||
26 | #include <unistd.h>'''], | ||
27 | ['get_mempolicy', '''#include <stdlib.h> | ||
28 | -- | ||
29 | 2.29.2 | ||
30 | |||