summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 @@
1Index: 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>
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
11 file://ld10k1/COPYING.LIB;md5=7fbc338309ac38fefcd64b04bb903e34" 11 file://ld10k1/COPYING.LIB;md5=7fbc338309ac38fefcd64b04bb903e34"
12 12
13SRC_URI = "ftp://ftp.alsa-project.org/pub/tools/alsa-tools-${PV}.tar.bz2 \ 13SRC_URI = "ftp://ftp.alsa-project.org/pub/tools/alsa-tools-${PV}.tar.bz2 \
14 file://mips_has_no_io_h.patch \
14 file://autotools.patch" 15 file://autotools.patch"
15 16
16SRC_URI[md5sum] = "805526ea5d6c40e1f2c94cee86141230" 17SRC_URI[md5sum] = "805526ea5d6c40e1f2c94cee86141230"