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:34:44 +0100 |
commit | 7c4840c7c2d7d7554c7d2f6018eb9c077be9a03f (patch) | |
tree | fd2cf517447b69aa2756f343d906fd731c5ef79e /meta/recipes-multimedia/alsa | |
parent | a23cbec2fab9832dfcbad08e22f0f81a01fcab65 (diff) | |
download | openembedded-core-7c4840c7c2d7d7554c7d2f6018eb9c077be9a03f.tar.gz openembedded-core-7c4840c7c2d7d7554c7d2f6018eb9c077be9a03f.tar.bz2 openembedded-core-7c4840c7c2d7d7554c7d2f6018eb9c077be9a03f.zip |
alsa-plugins: Include missing sys/select.h
This is exposed by musl where indirect include does not happen
Signed-off-by: Khem Raj <raj.khem@gmail.com>
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 @@ +From d28c655be3ac4fcb8024555983884f832ee18787 Mon Sep 17 00:00:00 2001 +From: Khem Raj <raj.khem@gmail.com> +Date: Fri, 29 May 2015 15:17:30 -0700 +Subject: [PATCH] arcam-av: Include sys/select.h for fd_set definition + +fixes build errors on non-glibc based systems + +arcam-av/arcam_av.c:389:2: error: unknown type name 'fd_set' + +Signed-off-by: Khem Raj <raj.khem@gmail.com> +--- +Upstream-Status: Submitted + + arcam-av/arcam_av.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/arcam-av/arcam_av.c b/arcam-av/arcam_av.c +index 0491fc6..fff96f9 100644 +--- a/arcam-av/arcam_av.c ++++ b/arcam-av/arcam_av.c +@@ -31,6 +31,7 @@ + #include <unistd.h> + + #include <sys/ipc.h> ++#include <sys/select.h> + #include <sys/shm.h> + #include <sys/stat.h> + #include <sys/stat.h> +-- +2.1.4 + 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 = "\ file://rate/rate_samplerate.c;endline=19;md5=f3d3ce0b189846a486517d97a854b276 \ " -SRC_URI = "ftp://ftp.alsa-project.org/pub/plugins/${BP}.tar.bz2" +SRC_URI = "ftp://ftp.alsa-project.org/pub/plugins/${BP}.tar.bz2 \ + file://0001-arcam-av-Include-sys-select.h-for-fd_set-definition.patch \ +" SRC_URI[md5sum] = "a66797b4471e3cbe96575207bfbe252c" SRC_URI[sha256sum] = "325d85cac285f632b83e0191ae3f348bad03c1f007b937042f164abb81ea6532" |