mirror of
https://git.yoctoproject.org/poky
synced 2026-09-17 12:49:36 +02:00
qemu: Update to a recent version
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1923 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
34
meta/packages/qemu/files/30_syscall_ipc.patch
Normal file
34
meta/packages/qemu/files/30_syscall_ipc.patch
Normal file
@@ -0,0 +1,34 @@
|
||||
#DPATCHLEVEL=0
|
||||
---
|
||||
# linux-user/syscall.c | 7 +++++--
|
||||
# 1 file changed, 5 insertions(+), 2 deletions(-)
|
||||
#
|
||||
Index: linux-user/syscall.c
|
||||
===================================================================
|
||||
--- linux-user/syscall.c.orig 2007-04-18 13:25:40.000000000 +0100
|
||||
+++ linux-user/syscall.c 2007-04-18 13:37:27.000000000 +0100
|
||||
@@ -43,7 +43,10 @@
|
||||
#include <sys/poll.h>
|
||||
#include <sys/times.h>
|
||||
#include <sys/shm.h>
|
||||
+#include <sys/ipc.h>
|
||||
#include <sys/sem.h>
|
||||
+#include <sys/shm.h>
|
||||
+#include <sys/msg.h>
|
||||
#include <sys/statfs.h>
|
||||
#include <utime.h>
|
||||
#include <sys/sysinfo.h>
|
||||
@@ -1240,11 +1243,11 @@ static long do_ipc(long call, long first
|
||||
ret = get_errno(shmctl(first, second, NULL));
|
||||
break;
|
||||
default:
|
||||
- goto unimplemented;
|
||||
+ ret = get_errno(shmctl(first, second, (struct shmid_ds *) ptr));
|
||||
+ break;
|
||||
}
|
||||
break;
|
||||
default:
|
||||
- unimplemented:
|
||||
gemu_log("Unsupported ipc call: %ld (version %d)\n", call, version);
|
||||
ret = -ENOSYS;
|
||||
break;
|
||||
Reference in New Issue
Block a user