summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended/rsyslog/rsyslog/0001-Undefine-GLOB_BRACE.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-extended/rsyslog/rsyslog/0001-Undefine-GLOB_BRACE.patch')
-rw-r--r--meta-oe/recipes-extended/rsyslog/rsyslog/0001-Undefine-GLOB_BRACE.patch35
1 files changed, 0 insertions, 35 deletions
diff --git a/meta-oe/recipes-extended/rsyslog/rsyslog/0001-Undefine-GLOB_BRACE.patch b/meta-oe/recipes-extended/rsyslog/rsyslog/0001-Undefine-GLOB_BRACE.patch
deleted file mode 100644
index 7903bb1cc..000000000
--- a/meta-oe/recipes-extended/rsyslog/rsyslog/0001-Undefine-GLOB_BRACE.patch
+++ /dev/null
@@ -1,35 +0,0 @@
1From 6746e3a9615d1566bf228e9012d0841b15178810 Mon Sep 17 00:00:00 2001
2From: Ming Liu <liu.ming50@gmail.com>
3Date: Sun, 26 Feb 2017 13:50:33 +0100
4Subject: [PATCH] Undefine GLOB_BRACE
5
6GLOB_BRACE is not defined in posix and thus not implemented in musl libc.
7
8Fixed by defining it to 0 if it is undefined.
9
10Upstream-Status: Inappropriate [musl libc specific]
11
12Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
13---
14 plugins/imfile/imfile.c | 5 +++++
15 1 file changed, 5 insertions(+)
16
17diff --git a/plugins/imfile/imfile.c b/plugins/imfile/imfile.c
18index d20471f..f9aff81 100644
19--- a/plugins/imfile/imfile.c
20+++ b/plugins/imfile/imfile.c
21@@ -85,6 +85,11 @@ static int bLegacyCnfModGlobalsPermitted;/* are legacy module-global config para
22
23 #define ADD_METADATA_UNSPECIFIED -1
24
25+/* fixes build with musl libc */
26+#ifndef GLOB_BRACE
27+#define GLOB_BRACE 0
28+#endif
29+
30 /* this structure is used in pure polling mode as well one of the support
31 * structures for inotify.
32 */
33--
341.9.1
35