summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2013-04-08 13:34:20 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-04-08 22:27:37 +0100
commit2dd134ad0822ca7942024d55436d6f4681e835bc (patch)
tree3aa61585f8d079edd1da13aef712e2813a13688a
parente57284abca76fe7e6c29484104ae4349459c63dc (diff)
downloadpoky-2dd134ad0822ca7942024d55436d6f4681e835bc.tar.gz
alsa-tools: Fix sys/io.h patch
I blew my #if expression! (From OE-Core rev: b458309845185a3cd473daa0969ce17e2ff5c602) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-multimedia/alsa/alsa-tools/mips_has_no_io_h.patch5
1 files changed, 4 insertions, 1 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
index 7083cb2771..09b10f17e6 100644
--- 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
@@ -1,3 +1,6 @@
1Upstream-Status: Pending
2Signed-off-by: Saul Wold <sgw@linux.intel.com>
3
1Index: alsa-tools-1.0.26.1/hda-verb/hda-verb.c 4Index: alsa-tools-1.0.26.1/hda-verb/hda-verb.c
2=================================================================== 5===================================================================
3--- alsa-tools-1.0.26.1.orig/hda-verb/hda-verb.c 6--- alsa-tools-1.0.26.1.orig/hda-verb/hda-verb.c
@@ -7,7 +10,7 @@ Index: alsa-tools-1.0.26.1/hda-verb/hda-verb.c
7 #include <unistd.h> 10 #include <unistd.h>
8 #include <sys/ioctl.h> 11 #include <sys/ioctl.h>
9-#ifndef __PPC__ 12-#ifndef __PPC__
10+#if __PPC__ || __MIPS__ 13+#if !(__PPC__ || __mips__)
11 #include <sys/io.h> 14 #include <sys/io.h>
12 #endif 15 #endif
13 #include <sys/types.h> 16 #include <sys/types.h>