diff options
author | Khem Raj <raj.khem@gmail.com> | 2015-05-29 15:24:08 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-06-03 16:38:47 +0100 |
commit | d66e6d5551e7cc4dcc086b2420bf6ffa1735e6e9 (patch) | |
tree | ab7bcedd644da6d64926efa8b009246baf2e2155 /meta/recipes-multimedia/alsa | |
parent | 91b7c88d9fba2332d76870327cb7168a4d077c85 (diff) | |
download | poky-d66e6d5551e7cc4dcc086b2420bf6ffa1735e6e9.tar.gz |
alsa-plugins: Include missing sys/select.h
This is exposed by musl where indirect include does not happen
(From OE-Core rev: 7c4840c7c2d7d7554c7d2f6018eb9c077be9a03f)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia/alsa')
-rw-r--r-- | meta/recipes-multimedia/alsa/alsa-plugins/0001-arcam-av-Include-sys-select.h-for-fd_set-definition.patch | 31 | ||||
-rw-r--r-- | meta/recipes-multimedia/alsa/alsa-plugins_1.0.29.bb | 4 |
2 files changed, 34 insertions, 1 deletions
diff --git a/meta/recipes-multimedia/alsa/alsa-plugins/0001-arcam-av-Include-sys-select.h-for-fd_set-definition.patch b/meta/recipes-multimedia/alsa/alsa-plugins/0001-arcam-av-Include-sys-select.h-for-fd_set-definition.patch new file mode 100644 index 0000000000..c70c72cb7e --- /dev/null +++ b/meta/recipes-multimedia/alsa/alsa-plugins/0001-arcam-av-Include-sys-select.h-for-fd_set-definition.patch | |||
@@ -0,0 +1,31 @@ | |||
1 | From d28c655be3ac4fcb8024555983884f832ee18787 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Fri, 29 May 2015 15:17:30 -0700 | ||
4 | Subject: [PATCH] arcam-av: Include sys/select.h for fd_set definition | ||
5 | |||
6 | fixes build errors on non-glibc based systems | ||
7 | |||
8 | arcam-av/arcam_av.c:389:2: error: unknown type name 'fd_set' | ||
9 | |||
10 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
11 | --- | ||
12 | Upstream-Status: Submitted | ||
13 | |||
14 | arcam-av/arcam_av.c | 1 + | ||
15 | 1 file changed, 1 insertion(+) | ||
16 | |||
17 | diff --git a/arcam-av/arcam_av.c b/arcam-av/arcam_av.c | ||
18 | index 0491fc6..fff96f9 100644 | ||
19 | --- a/arcam-av/arcam_av.c | ||
20 | +++ b/arcam-av/arcam_av.c | ||
21 | @@ -31,6 +31,7 @@ | ||
22 | #include <unistd.h> | ||
23 | |||
24 | #include <sys/ipc.h> | ||
25 | +#include <sys/select.h> | ||
26 | #include <sys/shm.h> | ||
27 | #include <sys/stat.h> | ||
28 | #include <sys/stat.h> | ||
29 | -- | ||
30 | 2.1.4 | ||
31 | |||
diff --git a/meta/recipes-multimedia/alsa/alsa-plugins_1.0.29.bb b/meta/recipes-multimedia/alsa/alsa-plugins_1.0.29.bb index 80f0446482..af56aeb84e 100644 --- a/meta/recipes-multimedia/alsa/alsa-plugins_1.0.29.bb +++ b/meta/recipes-multimedia/alsa/alsa-plugins_1.0.29.bb | |||
@@ -17,7 +17,9 @@ LIC_FILES_CHKSUM = "\ | |||
17 | file://rate/rate_samplerate.c;endline=19;md5=f3d3ce0b189846a486517d97a854b276 \ | 17 | file://rate/rate_samplerate.c;endline=19;md5=f3d3ce0b189846a486517d97a854b276 \ |
18 | " | 18 | " |
19 | 19 | ||
20 | SRC_URI = "ftp://ftp.alsa-project.org/pub/plugins/${BP}.tar.bz2" | 20 | SRC_URI = "ftp://ftp.alsa-project.org/pub/plugins/${BP}.tar.bz2 \ |
21 | file://0001-arcam-av-Include-sys-select.h-for-fd_set-definition.patch \ | ||
22 | " | ||
21 | SRC_URI[md5sum] = "a66797b4471e3cbe96575207bfbe252c" | 23 | SRC_URI[md5sum] = "a66797b4471e3cbe96575207bfbe252c" |
22 | SRC_URI[sha256sum] = "325d85cac285f632b83e0191ae3f348bad03c1f007b937042f164abb81ea6532" | 24 | SRC_URI[sha256sum] = "325d85cac285f632b83e0191ae3f348bad03c1f007b937042f164abb81ea6532" |
23 | 25 | ||