mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 12:59:02 +02:00
qemu: unbreak building with linux-libc-headers 2.6.28
This commit is contained in:
parent
71e368844f
commit
c2f46bd918
21
meta/packages/qemu/qemu-0.9.1/fix-dirent.h-location.diff
vendored
Normal file
21
meta/packages/qemu/qemu-0.9.1/fix-dirent.h-location.diff
vendored
Normal file
|
@ -0,0 +1,21 @@
|
|||
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(+)
|
||||
|
||||
--- qemu-0.9.1.orig/linux-user/syscall.c
|
||||
+++ qemu-0.9.1/linux-user/syscall.c
|
||||
@@ -75,10 +75,11 @@
|
||||
#include <linux/utsname.h>
|
||||
#include <linux/cdrom.h>
|
||||
#include <linux/hdreg.h>
|
||||
#include <linux/soundcard.h>
|
||||
#include <linux/dirent.h>
|
||||
+#include <dirent.h>
|
||||
#include <linux/kd.h>
|
||||
|
||||
#include "qemu.h"
|
||||
#include "qemu_spinlock.h"
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
LICENSE = "GPL"
|
||||
DEPENDS = "zlib"
|
||||
PR = "r7"
|
||||
PR = "r8"
|
||||
|
||||
FILESPATH = "${FILE_DIRNAME}/qemu-${PV}"
|
||||
FILESDIR = "${WORKDIR}"
|
||||
|
@ -34,6 +34,7 @@ SRC_URI = "\
|
|||
file://writev_fix.patch;patch=1 \
|
||||
file://configure_symlinkpath_fix.patch;patch=1 \
|
||||
file://disable-error-in-configure.patch;patch=1 \
|
||||
file://fix-dirent.h-location.diff;patch=1 \
|
||||
file://no-strip.patch;patch=1"
|
||||
|
||||
S = "${WORKDIR}/qemu-${PV}"
|
||||
|
|
Loading…
Reference in New Issue
Block a user