summaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia/alsa/alsa-lib/0001-ucm_exec.c-Include-limits.h-explicitly-to-fix-build-.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-multimedia/alsa/alsa-lib/0001-ucm_exec.c-Include-limits.h-explicitly-to-fix-build-.patch')
-rw-r--r--meta/recipes-multimedia/alsa/alsa-lib/0001-ucm_exec.c-Include-limits.h-explicitly-to-fix-build-.patch41
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 @@
1From 26ab44c99e9f370e3da0c18982fa482e2e55f0a8 Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
3Date: Thu, 3 Jun 2021 12:29:03 +0200
4Subject: [PATCH] ucm_exec.c: Include limits.h explicitly to fix build on musl
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8
9Fixes:
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
20Upstream-Status: Submitted [https://github.com/alsa-project/alsa-lib/pull/145]
21
22Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
23---
24 src/ucm/ucm_exec.c | 1 +
25 1 file changed, 1 insertion(+)
26
27diff --git a/src/ucm/ucm_exec.c b/src/ucm/ucm_exec.c
28index 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--
402.31.1
41