Patchwork alsa-tools: Fix sys/io.h patch

login
register
mail settings
Submitter Saul Wold
Date April 8, 2013, 8:34 p.m.
Message ID <1365453260-32342-1-git-send-email-sgw@linux.intel.com>
Download mbox | patch
Permalink /patch/47649/
State Accepted
Commit 2dd134ad0822ca7942024d55436d6f4681e835bc
Headers show

Comments

Saul Wold - April 8, 2013, 8:34 p.m.
I blew my #if expression!

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 meta/recipes-multimedia/alsa/alsa-tools/mips_has_no_io_h.patch | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
Trevor Woerner - April 9, 2013, 11:24 a.m.
Excellent. Now all my qemu* "bitbake world"s succeed :-)

Patch

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 7083cb2..09b10f1 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>