summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <marcin@buglabs.net>2009-02-24 16:14:41 +0100
committerMarcin Juszkiewicz <marcin@buglabs.net>2009-02-24 16:14:41 +0100
commit1bcb06beeeb62a0fc88c0c9f1cc1e77fa8b17389 (patch)
tree9be38cac8fc783c71851e1a3979d044f0cc8e7f1
parentc2f46bd918111e186accd34a7bf5b3110683cf59 (diff)
downloadpoky-1bcb06beeeb62a0fc88c0c9f1cc1e77fa8b17389.tar.gz
poky-1bcb06beeeb62a0fc88c0c9f1cc1e77fa8b17389.tar.bz2
poky-1bcb06beeeb62a0fc88c0c9f1cc1e77fa8b17389.zip
qemu: unbreak also on Ubuntu 8.04
-rw-r--r--meta/packages/qemu/qemu-0.9.1/fix-dirent.h-location.diff9
-rw-r--r--meta/packages/qemu/qemu_0.9.1.bb2
2 files changed, 6 insertions, 5 deletions
diff --git a/meta/packages/qemu/qemu-0.9.1/fix-dirent.h-location.diff b/meta/packages/qemu/qemu-0.9.1/fix-dirent.h-location.diff
index 6257000dff..3d34bfa5eb 100644
--- a/meta/packages/qemu/qemu-0.9.1/fix-dirent.h-location.diff
+++ b/meta/packages/qemu/qemu-0.9.1/fix-dirent.h-location.diff
@@ -2,17 +2,18 @@ On Debian 'sid' systems there is no linux/dirent.h header when
linux-libc-headers 2.6.28 are installed.
---
- linux-user/syscall.c | 1 +
- 1 file changed, 1 insertion(+)
+ linux-user/syscall.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
--- qemu-0.9.1.orig/linux-user/syscall.c
+++ qemu-0.9.1/linux-user/syscall.c
-@@ -75,10 +75,11 @@
+@@ -74,11 +74,11 @@
+ #include <linux/unistd.h>
#include <linux/utsname.h>
#include <linux/cdrom.h>
#include <linux/hdreg.h>
#include <linux/soundcard.h>
- #include <linux/dirent.h>
+-#include <linux/dirent.h>
+#include <dirent.h>
#include <linux/kd.h>
diff --git a/meta/packages/qemu/qemu_0.9.1.bb b/meta/packages/qemu/qemu_0.9.1.bb
index 909f05dd1a..ca3800341e 100644
--- a/meta/packages/qemu/qemu_0.9.1.bb
+++ b/meta/packages/qemu/qemu_0.9.1.bb
@@ -1,6 +1,6 @@
LICENSE = "GPL"
DEPENDS = "zlib"
-PR = "r8"
+PR = "r9"
FILESPATH = "${FILE_DIRNAME}/qemu-${PV}"
FILESDIR = "${WORKDIR}"