qemu (svn): fix include of dirent.h file
authorOtavio Salvador <otavio@ossystems.com.br>
Mon, 10 Nov 2008 20:47:32 +0000 (18:47 -0200)
committerOtavio Salvador <otavio@ossystems.com.br>
Tue, 11 Nov 2008 12:13:11 +0000 (10:13 -0200)
packages/qemu/qemu-0.9.1+svn/fix_dirent_h_include.patch [new file with mode: 0644]
packages/qemu/qemu_svn.bb

diff --git a/packages/qemu/qemu-0.9.1+svn/fix_dirent_h_include.patch b/packages/qemu/qemu-0.9.1+svn/fix_dirent_h_include.patch
new file mode 100644 (file)
index 0000000..1320422
--- /dev/null
@@ -0,0 +1,12 @@
+--- a/linux-user/syscall.c~    2008-11-10 18:39:25.000000000 -0200
++++ b/linux-user/syscall.c     2008-11-10 18:39:25.000000000 -0200
+@@ -76,8 +76,8 @@
+ #include <linux/cdrom.h>
+ #include <linux/hdreg.h>
+ #include <linux/soundcard.h>
+-#include <linux/dirent.h>
+ #include <linux/kd.h>
++#include <dirent.h>
+ #include "qemu.h"
+ #include "qemu_spinlock.h"
index 6e52a15..e8d9883 100644 (file)
@@ -1,7 +1,7 @@
 LICENSE = "GPL"
 DEPENDS = "zlib"
 PV = "0.9.1+svnr${SRCREV}"
-PR = "r12"
+PR = "r13"
 
 FILESPATH = "${FILE_DIRNAME}/qemu-${PV}/:${FILE_DIRNAME}/qemu-0.9.1+svn/"
 
@@ -33,7 +33,8 @@ SRC_URI = "\
     file://fix_brk.patch;patch=1 \
     file://fix_protection_bits.patch;patch=1 \
     file://revert_arm_tcg.patch.gz;patch=1;minrev=4242 \
-    file://qemu-n800-support.patch;patch=1"
+    file://qemu-n800-support.patch;patch=1 \
+    file://fix_dirent_h_include.patch;patch=1"
 
 S = "${WORKDIR}/trunk"