summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/systemd/systemd/0001-meson-Fix-reallocarray-check.patch
diff options
context:
space:
mode:
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.patch30
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 @@
1From 1ebf1a1df17afd8b89f84b1928a89069035bf20b Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 12 Dec 2020 16:15:57 -0800
4Subject: [PATCH] meson: Fix reallocarray check
5
6reallocarray() is defined in stdlib.h, so that would be right header to
7check for its presense.
8
9Upstream-Status: Submitted [https://github.com/systemd/systemd/pull/17951]
10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11---
12 meson.build | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15diff --git a/meson.build b/meson.build
16index 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--
292.29.2
30