summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/systemd/systemd/0018-check-for-uchar.h-in-configure.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/systemd/systemd/0018-check-for-uchar.h-in-configure.patch')
-rw-r--r--meta/recipes-core/systemd/systemd/0018-check-for-uchar.h-in-configure.patch17
1 files changed, 9 insertions, 8 deletions
diff --git a/meta/recipes-core/systemd/systemd/0018-check-for-uchar.h-in-configure.patch b/meta/recipes-core/systemd/systemd/0018-check-for-uchar.h-in-configure.patch
index 548ffe03e6..067b73ff35 100644
--- a/meta/recipes-core/systemd/systemd/0018-check-for-uchar.h-in-configure.patch
+++ b/meta/recipes-core/systemd/systemd/0018-check-for-uchar.h-in-configure.patch
@@ -1,22 +1,23 @@
1From 7cc0b19d244023c7b3e557765b03b7971e047f29 Mon Sep 17 00:00:00 2001 1From 1355457092b02a15c646fc1c72e68b694a86dd99 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 22 Feb 2016 06:02:38 +0000 3Date: Mon, 22 Feb 2016 06:02:38 +0000
4Subject: [PATCH 18/19] check for uchar.h in configure 4Subject: [PATCH 12/14] check for uchar.h in configure
5 5
6Use ifdef to include uchar.h 6Use ifdef to include uchar.h
7 7
8Signed-off-by: Khem Raj <raj.khem@gmail.com> 8Signed-off-by: Khem Raj <raj.khem@gmail.com>
9Upstream-Status: Pending 9Upstream-Status: Pending
10
10--- 11---
11 configure.ac | 1 + 12 configure.ac | 1 +
12 src/basic/missing.h | 2 ++ 13 src/basic/missing.h | 2 ++
13 2 files changed, 3 insertions(+) 14 2 files changed, 3 insertions(+)
14 15
15diff --git a/configure.ac b/configure.ac 16diff --git a/configure.ac b/configure.ac
16index b12e320..4e6dfdf 100644 17index 1150ca50e..60e7df5ee 100644
17--- a/configure.ac 18--- a/configure.ac
18+++ b/configure.ac 19+++ b/configure.ac
19@@ -298,6 +298,7 @@ AM_CONDITIONAL([HAVE_PYTHON], [test "x$have_python" = "xyes"]) 20@@ -304,6 +304,7 @@ AM_CONDITIONAL([HAVE_PYTHON], [test "x$have_python" = "xyes"])
20 21
21 # ------------------------------------------------------------------------------ 22 # ------------------------------------------------------------------------------
22 23
@@ -25,12 +26,12 @@ index b12e320..4e6dfdf 100644
25 AC_CHECK_HEADERS([linux/btrfs.h], [], []) 26 AC_CHECK_HEADERS([linux/btrfs.h], [], [])
26 AC_CHECK_HEADERS([linux/memfd.h], [], []) 27 AC_CHECK_HEADERS([linux/memfd.h], [], [])
27diff --git a/src/basic/missing.h b/src/basic/missing.h 28diff --git a/src/basic/missing.h b/src/basic/missing.h
28index 4936873..ce79404 100644 29index 25a11f351..d631b7e3e 100644
29--- a/src/basic/missing.h 30--- a/src/basic/missing.h
30+++ b/src/basic/missing.h 31+++ b/src/basic/missing.h
31@@ -35,7 +35,9 @@ 32@@ -37,7 +37,9 @@
32 #include <stdlib.h>
33 #include <sys/resource.h> 33 #include <sys/resource.h>
34 #include <sys/socket.h>
34 #include <sys/syscall.h> 35 #include <sys/syscall.h>
35+#ifdef HAVE_UCHAR_H 36+#ifdef HAVE_UCHAR_H
36 #include <uchar.h> 37 #include <uchar.h>
@@ -39,5 +40,5 @@ index 4936873..ce79404 100644
39 40
40 #ifdef HAVE_AUDIT 41 #ifdef HAVE_AUDIT
41-- 42--
422.10.2 432.13.2
43 44