diff options
author | Saul Wold <sgw@linux.intel.com> | 2013-03-20 10:21:27 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-03-20 17:26:17 +0000 |
commit | ecb30a910b8c2f3d39ab4d3bf5f3eb1898097b76 (patch) | |
tree | f754c74e79e76c9213b450fb175299af05f885fb /meta/recipes-multimedia/alsa/alsa-tools | |
parent | e7f7fcb831cbcafae6a05795a98d7784fa3bea1e (diff) | |
download | poky-ecb30a910b8c2f3d39ab4d3bf5f3eb1898097b76.tar.gz |
alsa-tools: add patch for mips since it does not have io.h
[YOCTO #4051]
(From OE-Core rev: 67f1083a10f7435aeb861ba2e872d6498375d927)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia/alsa/alsa-tools')
-rw-r--r-- | meta/recipes-multimedia/alsa/alsa-tools/mips_has_no_io_h.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/meta/recipes-multimedia/alsa/alsa-tools/mips_has_no_io_h.patch b/meta/recipes-multimedia/alsa/alsa-tools/mips_has_no_io_h.patch new file mode 100644 index 0000000000..7083cb2771 --- /dev/null +++ b/meta/recipes-multimedia/alsa/alsa-tools/mips_has_no_io_h.patch | |||
@@ -0,0 +1,13 @@ | |||
1 | Index: alsa-tools-1.0.26.1/hda-verb/hda-verb.c | ||
2 | =================================================================== | ||
3 | --- alsa-tools-1.0.26.1.orig/hda-verb/hda-verb.c | ||
4 | +++ alsa-tools-1.0.26.1/hda-verb/hda-verb.c | ||
5 | @@ -13,7 +13,7 @@ | ||
6 | #include <ctype.h> | ||
7 | #include <unistd.h> | ||
8 | #include <sys/ioctl.h> | ||
9 | -#ifndef __PPC__ | ||
10 | +#if __PPC__ || __MIPS__ | ||
11 | #include <sys/io.h> | ||
12 | #endif | ||
13 | #include <sys/types.h> | ||