summaryrefslogtreecommitdiffstats
path: root/package/alsa-lib/0006-ucm-parser-needs-limits.h.patch
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2016-12-21 19:59:12 -0300
committerPeter Korsgaard <peter@korsgaard.com>2016-12-22 10:50:37 +0100
commitbbe7874097cf6dd2a5d0a92a660da1300de2604a (patch)
treec7d753fce8bc5821c49f19695240722b18534f85 /package/alsa-lib/0006-ucm-parser-needs-limits.h.patch
parent282ffecbe3c6fa123979ad2beb0b8fe86ecf5192 (diff)
downloadbuildroot-bbe7874097cf6dd2a5d0a92a660da1300de2604a.tar.gz
buildroot-bbe7874097cf6dd2a5d0a92a660da1300de2604a.zip
alsa-lib: bump to version 1.1.3
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/alsa-lib/0006-ucm-parser-needs-limits.h.patch')
-rw-r--r--package/alsa-lib/0006-ucm-parser-needs-limits.h.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/package/alsa-lib/0006-ucm-parser-needs-limits.h.patch b/package/alsa-lib/0006-ucm-parser-needs-limits.h.patch
new file mode 100644
index 0000000000..b47dedb3a9
--- /dev/null
+++ b/package/alsa-lib/0006-ucm-parser-needs-limits.h.patch
@@ -0,0 +1,30 @@
+From 13a796b4bd00defa9f9297fd23d508b430682aed Mon Sep 17 00:00:00 2001
+From: Gustavo Zacarias <gustavo@zacarias.com.ar>
+Date: Wed, 21 Dec 2016 19:41:26 -0300
+Subject: [PATCH] ucm: parser needs limits.h
+
+It's using PATH_MAX which is defined there, otherwise the build fails on
+musl libc.
+
+Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
+---
+Patch status: sent to alsa-devel ML.
+
+ src/ucm/parser.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/ucm/parser.c b/src/ucm/parser.c
+index c98373a..f520abc 100644
+--- a/src/ucm/parser.c
++++ b/src/ucm/parser.c
+@@ -32,6 +32,7 @@
+
+ #include "ucm_local.h"
+ #include <dirent.h>
++#include <limits.h>
+
+ /** The name of the environment variable containing the UCM directory */
+ #define ALSA_CONFIG_UCM_VAR "ALSA_CONFIG_UCM"
+--
+2.10.2
+
OpenPOWER on IntegriCloud