summaryrefslogtreecommitdiff
path: root/meta/recipes-multimedia/alsa
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2013-03-20 10:21:27 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-03-20 17:26:07 +0000
commit67f1083a10f7435aeb861ba2e872d6498375d927 (patch)
tree0ea0afbd515dc2382ae4c87e14aedee82a1a62f5 /meta/recipes-multimedia/alsa
parent4ca3a19c6fb93a6e85017f7ae465b5d2eba9463e (diff)
downloadopenembedded-core-67f1083a10f7435aeb861ba2e872d6498375d927.tar.gz
openembedded-core-67f1083a10f7435aeb861ba2e872d6498375d927.tar.bz2
openembedded-core-67f1083a10f7435aeb861ba2e872d6498375d927.zip
alsa-tools: add patch for mips since it does not have io.h
[YOCTO #4051] 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')
-rw-r--r--meta/recipes-multimedia/alsa/alsa-tools/mips_has_no_io_h.patch13
-rw-r--r--meta/recipes-multimedia/alsa/alsa-tools_1.0.26.1.bb1
2 files changed, 14 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 @@
+Index: alsa-tools-1.0.26.1/hda-verb/hda-verb.c
+===================================================================
+--- alsa-tools-1.0.26.1.orig/hda-verb/hda-verb.c
++++ alsa-tools-1.0.26.1/hda-verb/hda-verb.c
+@@ -13,7 +13,7 @@
+ #include <ctype.h>
+ #include <unistd.h>
+ #include <sys/ioctl.h>
+-#ifndef __PPC__
++#if __PPC__ || __MIPS__
+ #include <sys/io.h>
+ #endif
+ #include <sys/types.h>
diff --git a/meta/recipes-multimedia/alsa/alsa-tools_1.0.26.1.bb b/meta/recipes-multimedia/alsa/alsa-tools_1.0.26.1.bb
index 0fe4bee4eb..2b46aaffdd 100644
--- a/meta/recipes-multimedia/alsa/alsa-tools_1.0.26.1.bb
+++ b/meta/recipes-multimedia/alsa/alsa-tools_1.0.26.1.bb
@@ -11,6 +11,7 @@ LIC_FILES_CHKSUM = "file://hdsploader/COPYING;md5=94d55d512a9ba36caa9b7df079bae1
file://ld10k1/COPYING.LIB;md5=7fbc338309ac38fefcd64b04bb903e34"
SRC_URI = "ftp://ftp.alsa-project.org/pub/tools/alsa-tools-${PV}.tar.bz2 \
+ file://mips_has_no_io_h.patch \
file://autotools.patch"
SRC_URI[md5sum] = "805526ea5d6c40e1f2c94cee86141230"