diff options
author | Saul Wold <sgw@linux.intel.com> | 2013-04-08 13:34:20 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-04-08 22:26:32 +0100 |
commit | b458309845185a3cd473daa0969ce17e2ff5c602 (patch) | |
tree | 890b0a24611dc82d4d70b6a601162f615d814ff1 /meta/recipes-multimedia/alsa/alsa-tools | |
parent | f0b19ddce3c92c5d06976cf73d4c4c480e053dff (diff) | |
download | openembedded-core-b458309845185a3cd473daa0969ce17e2ff5c602.tar.gz openembedded-core-b458309845185a3cd473daa0969ce17e2ff5c602.tar.bz2 openembedded-core-b458309845185a3cd473daa0969ce17e2ff5c602.zip |
alsa-tools: Fix sys/io.h patch
I blew my #if expression!
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 | 5 |
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 @@ +Upstream-Status: Pending +Signed-off-by: Saul Wold <sgw@linux.intel.com> + Index: alsa-tools-1.0.26.1/hda-verb/hda-verb.c =================================================================== --- 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 #include <unistd.h> #include <sys/ioctl.h> -#ifndef __PPC__ -+#if __PPC__ || __MIPS__ ++#if !(__PPC__ || __mips__) #include <sys/io.h> #endif #include <sys/types.h> |