diff options
Diffstat (limited to 'meta/recipes-multimedia/alsa/alsa-lib')
-rw-r--r-- | meta/recipes-multimedia/alsa/alsa-lib/0001-ucm_exec.c-Include-limits.h-explicitly-to-fix-build-.patch | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/meta/recipes-multimedia/alsa/alsa-lib/0001-ucm_exec.c-Include-limits.h-explicitly-to-fix-build-.patch b/meta/recipes-multimedia/alsa/alsa-lib/0001-ucm_exec.c-Include-limits.h-explicitly-to-fix-build-.patch deleted file mode 100644 index 8752ef0dc0..0000000000 --- a/meta/recipes-multimedia/alsa/alsa-lib/0001-ucm_exec.c-Include-limits.h-explicitly-to-fix-build-.patch +++ /dev/null | |||
@@ -1,41 +0,0 @@ | |||
1 | From 26ab44c99e9f370e3da0c18982fa482e2e55f0a8 Mon Sep 17 00:00:00 2001 | ||
2 | From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com> | ||
3 | Date: Thu, 3 Jun 2021 12:29:03 +0200 | ||
4 | Subject: [PATCH] ucm_exec.c: Include limits.h explicitly to fix build on musl | ||
5 | MIME-Version: 1.0 | ||
6 | Content-Type: text/plain; charset=UTF-8 | ||
7 | Content-Transfer-Encoding: 8bit | ||
8 | |||
9 | Fixes: | ||
10 | | ../../../alsa-lib-1.2.5/src/ucm/ucm_exec.c: In function 'find_exec': | ||
11 | | ../../../alsa-lib-1.2.5/src/ucm/ucm_exec.c:43:18: error: 'PATH_MAX' undeclared (first use in this function) | ||
12 | | 43 | char bin[PATH_MAX]; | ||
13 | | | ^~~~~~~~ | ||
14 | | ../../../alsa-lib-1.2.5/src/ucm/ucm_exec.c:43:18: note: each undeclared identifier is reported only once for each function it appears in | ||
15 | | ../../../alsa-lib-1.2.5/src/ucm/ucm_exec.c: In function 'uc_mgr_exec': | ||
16 | | ../../../alsa-lib-1.2.5/src/ucm/ucm_exec.c:177:18: error: 'PATH_MAX' undeclared (first use in this function) | ||
17 | | 177 | char bin[PATH_MAX]; | ||
18 | | | ^~~~~~~~ | ||
19 | |||
20 | Upstream-Status: Submitted [https://github.com/alsa-project/alsa-lib/pull/145] | ||
21 | |||
22 | Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> | ||
23 | --- | ||
24 | src/ucm/ucm_exec.c | 1 + | ||
25 | 1 file changed, 1 insertion(+) | ||
26 | |||
27 | diff --git a/src/ucm/ucm_exec.c b/src/ucm/ucm_exec.c | ||
28 | index d83206d0..4ddf5d15 100644 | ||
29 | --- a/src/ucm/ucm_exec.c | ||
30 | +++ b/src/ucm/ucm_exec.c | ||
31 | @@ -30,6 +30,7 @@ | ||
32 | #include "ucm_local.h" | ||
33 | #include <sys/stat.h> | ||
34 | #include <sys/wait.h> | ||
35 | +#include <limits.h> | ||
36 | #include <dirent.h> | ||
37 | |||
38 | static pthread_mutex_t fork_lock = PTHREAD_MUTEX_INITIALIZER; | ||
39 | -- | ||
40 | 2.31.1 | ||
41 | |||