summaryrefslogtreecommitdiffstats
path: root/package/alsa-lib/0001-add-missing-include.patch
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2015-11-10 21:47:24 -0300
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-11-11 15:08:38 +0100
commitf98e865074a6c6f9cc38721b3320f95de5f2967b (patch)
tree580226d3d641b42afb7752e280f8ba9a2cd6c243 /package/alsa-lib/0001-add-missing-include.patch
parent6d33e77f742cc5f9706a6eb4eaeeaabe27315939 (diff)
downloadbuildroot-f98e865074a6c6f9cc38721b3320f95de5f2967b.tar.gz
buildroot-f98e865074a6c6f9cc38721b3320f95de5f2967b.zip
alsa-lib: bump to version 1.1.0
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/alsa-lib/0001-add-missing-include.patch')
-rw-r--r--package/alsa-lib/0001-add-missing-include.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/package/alsa-lib/0001-add-missing-include.patch b/package/alsa-lib/0001-add-missing-include.patch
new file mode 100644
index 0000000000..ac7dfa95c5
--- /dev/null
+++ b/package/alsa-lib/0001-add-missing-include.patch
@@ -0,0 +1,29 @@
+Subject: [PATCH] topology: Add missing include sys/stat.h
+
+Necessary for proper definitions of S_IRUSR & co. Otherwise it
+results in compile errors with old glibc:
+ parser.c: In function 'snd_tplg_build_file':
+ parser.c:262: error: 'S_IRUSR' undeclared (first use in this function)
+ parser.c:262: error: (Each undeclared identifier is reported only once
+ parser.c:262: error: for each function it appears in.)
+
+Signed-off-by: Takashi Iwai <tiwai@suse.de>
+Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
+---
+Status: upstream
+
+diff --git a/src/topology/parser.c b/src/topology/parser.c
+index 80a0ae0..18bb9c7 100644
+--- a/src/topology/parser.c
++++ b/src/topology/parser.c
+@@ -16,6 +16,7 @@
+ Liam Girdwood <liam.r.girdwood@linux.intel.com>
+ */
+
++#include <sys/stat.h>
+ #include "list.h"
+ #include "tplg_local.h"
+
+--
+1.7.11.7
+
OpenPOWER on IntegriCloud