diff options
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.patch | 35 |
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 @@ | |||
1 | From 6746e3a9615d1566bf228e9012d0841b15178810 Mon Sep 17 00:00:00 2001 | ||
2 | From: Ming Liu <liu.ming50@gmail.com> | ||
3 | Date: Sun, 26 Feb 2017 13:50:33 +0100 | ||
4 | Subject: [PATCH] Undefine GLOB_BRACE | ||
5 | |||
6 | GLOB_BRACE is not defined in posix and thus not implemented in musl libc. | ||
7 | |||
8 | Fixed by defining it to 0 if it is undefined. | ||
9 | |||
10 | Upstream-Status: Inappropriate [musl libc specific] | ||
11 | |||
12 | Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com> | ||
13 | --- | ||
14 | plugins/imfile/imfile.c | 5 +++++ | ||
15 | 1 file changed, 5 insertions(+) | ||
16 | |||
17 | diff --git a/plugins/imfile/imfile.c b/plugins/imfile/imfile.c | ||
18 | index 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 | -- | ||
34 | 1.9.1 | ||
35 | |||