summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/systemd/systemd/0010-check-for-uchar.h-in-meson.build.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/systemd/systemd/0010-check-for-uchar.h-in-meson.build.patch')
-rw-r--r--meta/recipes-core/systemd/systemd/0010-check-for-uchar.h-in-meson.build.patch45
1 files changed, 0 insertions, 45 deletions
diff --git a/meta/recipes-core/systemd/systemd/0010-check-for-uchar.h-in-meson.build.patch b/meta/recipes-core/systemd/systemd/0010-check-for-uchar.h-in-meson.build.patch
deleted file mode 100644
index 9a44b5484b..0000000000
--- a/meta/recipes-core/systemd/systemd/0010-check-for-uchar.h-in-meson.build.patch
+++ /dev/null
@@ -1,45 +0,0 @@
1From ea4caaa1c6a6dc682bb04548ab05c5c73d0b45d6 Mon Sep 17 00:00:00 2001
2From: Chen Qi <Qi.Chen@windriver.com>
3Date: Mon, 26 Feb 2018 15:34:52 +0800
4Subject: [PATCH 10/31] check for uchar.h in meson.build
5
6Use #if HAVE_UCHAR_H to include uchar.h conditionally.
7
8Signed-off-by: Khem Raj <raj.khem@gmail.com>
9Upstream-Status: Pending
10
11Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
12---
13 meson.build | 1 +
14 src/basic/missing.h | 2 ++
15 2 files changed, 3 insertions(+)
16
17diff --git a/meson.build b/meson.build
18index 9c25022a4..94a16712b 100644
19--- a/meson.build
20+++ b/meson.build
21@@ -623,6 +623,7 @@ foreach header : ['crypt.h',
22 'sys/auxv.h',
23 'valgrind/memcheck.h',
24 'valgrind/valgrind.h',
25+ 'uchar.h',
26 ]
27
28 conf.set10('HAVE_' + header.underscorify().to_upper(),
29diff --git a/src/basic/missing.h b/src/basic/missing.h
30index 39c1fb700..84d6d9167 100644
31--- a/src/basic/missing.h
32+++ b/src/basic/missing.h
33@@ -38,7 +38,9 @@
34 #include <sys/resource.h>
35 #include <sys/socket.h>
36 #include <sys/syscall.h>
37+#if HAVE_UCHAR_H
38 #include <uchar.h>
39+#endif
40 #include <unistd.h>
41
42 #if HAVE_AUDIT
43--
442.13.0
45