diff options
Diffstat (limited to 'meta/recipes-multimedia/alsa/alsa-lib/0001-ucm-parser-needs-limits.h.patch')
-rw-r--r-- | meta/recipes-multimedia/alsa/alsa-lib/0001-ucm-parser-needs-limits.h.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/meta/recipes-multimedia/alsa/alsa-lib/0001-ucm-parser-needs-limits.h.patch b/meta/recipes-multimedia/alsa/alsa-lib/0001-ucm-parser-needs-limits.h.patch new file mode 100644 index 0000000000..4edaf4d961 --- /dev/null +++ b/meta/recipes-multimedia/alsa/alsa-lib/0001-ucm-parser-needs-limits.h.patch | |||
@@ -0,0 +1,33 @@ | |||
1 | From 005ac9d2fa000912c8fb8257020a0471b1c6176c Mon Sep 17 00:00:00 2001 | ||
2 | From: Gustavo Zacarias <gustavo@zacarias.com.ar> | ||
3 | Date: Wed, 21 Dec 2016 19:46:34 -0300 | ||
4 | Subject: [PATCH] ucm: parser needs limits.h | ||
5 | |||
6 | It's using PATH_MAX which is defined there, otherwise the build fails on | ||
7 | musl libc. | ||
8 | |||
9 | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> | ||
10 | Signed-off-by: Takashi Iwai <tiwai@suse.de> | ||
11 | |||
12 | Upstream-Status: Accepted [expected in 1.1.4] | ||
13 | |||
14 | Signed-off-by: Tanu Kaskinen <tanuk@iki.fi> | ||
15 | --- | ||
16 | src/ucm/parser.c | 1 + | ||
17 | 1 file changed, 1 insertion(+) | ||
18 | |||
19 | diff --git a/src/ucm/parser.c b/src/ucm/parser.c | ||
20 | index c98373a9..f520abc5 100644 | ||
21 | --- a/src/ucm/parser.c | ||
22 | +++ b/src/ucm/parser.c | ||
23 | @@ -32,6 +32,7 @@ | ||
24 | |||
25 | #include "ucm_local.h" | ||
26 | #include <dirent.h> | ||
27 | +#include <limits.h> | ||
28 | |||
29 | /** The name of the environment variable containing the UCM directory */ | ||
30 | #define ALSA_CONFIG_UCM_VAR "ALSA_CONFIG_UCM" | ||
31 | -- | ||
32 | 2.11.0 | ||
33 | |||