Linux 2.6.27 removed linux/dirent.h, which qemu was included. Change this to
include dirent.h.
--- /dev/null
+Index: trunk/linux-user/syscall.c
+===================================================================
+--- trunk.orig/linux-user/syscall.c 2008-11-10 10:58:07.000000000 +0000
++++ trunk/linux-user/syscall.c 2008-11-10 11:00:37.000000000 +0000
+@@ -26,6 +26,7 @@
+ #include <errno.h>
+ #include <unistd.h>
+ #include <fcntl.h>
++#include <dirent.h>
+ #include <time.h>
+ #include <sys/types.h>
+ #include <sys/ipc.h>
+@@ -76,7 +77,6 @@
+ #include <linux/cdrom.h>
+ #include <linux/hdreg.h>
+ #include <linux/soundcard.h>
+-#include <linux/dirent.h>
+ #include <linux/kd.h>
+
+ #include "qemu.h"
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/"
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.patch;patch=1"
S = "${WORKDIR}/trunk"