summaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia/alsa/files/0001-utils.c-Include-limits.h-explicitly-to-fix-build-on-.patch
diff options
context:
space:
mode:
authorAndreas Müller <schnitzeltony@gmail.com>2021-06-03 17:43:13 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-06-06 23:16:50 +0100
commit590de505df78412adefc308459c6481ef2c948e9 (patch)
treeea1a7127b600410862b085702ae5a0506833044a /meta/recipes-multimedia/alsa/files/0001-utils.c-Include-limits.h-explicitly-to-fix-build-on-.patch
parent3c0dd6b2202c0c95d93b8fec6ba7169a3211daf5 (diff)
downloadpoky-590de505df78412adefc308459c6481ef2c948e9.tar.gz
alsa-utils(-scripts): upgrade 1.2.4 -> 1.2.5
See changelog at [1] [1] https://github.com/alsa-project/alsa-utils/releases/tag/v1.2.5 (From OE-Core rev: 1caf952dc651ab39258fbad98ced5bfa7a7841bf) Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia/alsa/files/0001-utils.c-Include-limits.h-explicitly-to-fix-build-on-.patch')
-rw-r--r--meta/recipes-multimedia/alsa/files/0001-utils.c-Include-limits.h-explicitly-to-fix-build-on-.patch37
1 files changed, 37 insertions, 0 deletions
diff --git a/meta/recipes-multimedia/alsa/files/0001-utils.c-Include-limits.h-explicitly-to-fix-build-on-.patch b/meta/recipes-multimedia/alsa/files/0001-utils.c-Include-limits.h-explicitly-to-fix-build-on-.patch
new file mode 100644
index 0000000000..445f3ecade
--- /dev/null
+++ b/meta/recipes-multimedia/alsa/files/0001-utils.c-Include-limits.h-explicitly-to-fix-build-on-.patch
@@ -0,0 +1,37 @@
1From b20cb6ef5e3f331181b93e39293602ad2c774af8 Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
3Date: Thu, 3 Jun 2021 16:07:10 +0200
4Subject: [PATCH] utils.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-utils-1.2.5/alsactl/utils.c: In function 'snd_card_clean_cfgdir':
11| ../../alsa-utils-1.2.5/alsactl/utils.c:309:19: error: 'PATH_MAX' undeclared (first use in this function)
12| 309 | char path[PATH_MAX];
13| | ^~~~~~~~
14| ../../alsa-utils-1.2.5/alsactl/utils.c:309:19: note: each undeclared identifier is reported only once for each function it appears in
15
16Upstream-Status: Submitted [https://github.com/alsa-project/alsa-utils/pull/92]
17
18Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
19---
20 alsactl/utils.c | 1 +
21 1 file changed, 1 insertion(+)
22
23diff --git a/alsactl/utils.c b/alsactl/utils.c
24index 881b505..1a4896b 100644
25--- a/alsactl/utils.c
26+++ b/alsactl/utils.c
27@@ -30,6 +30,7 @@
28 #include <syslog.h>
29 #include <sys/stat.h>
30 #include <sys/mman.h>
31+#include <limits.h>
32 #include "alsactl.h"
33
34 int file_map(const char *filename, char **buf, size_t *bufsize)
35--
362.31.1
37