From 8f4687c84c6d540d27bf9bcbdb5360226320e3e3 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 9 Aug 2007 19:08:38 +0000 Subject: qemu: Work around bad system futex headers git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2478 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- .../qemu/files/workaround_bad_futex_headers.patch | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 meta/packages/qemu/files/workaround_bad_futex_headers.patch (limited to 'meta/packages/qemu/files') diff --git a/meta/packages/qemu/files/workaround_bad_futex_headers.patch b/meta/packages/qemu/files/workaround_bad_futex_headers.patch new file mode 100644 index 0000000000..cc122ebdba --- /dev/null +++ b/meta/packages/qemu/files/workaround_bad_futex_headers.patch @@ -0,0 +1,25 @@ +--- + linux-user/syscall.c | 10 +++++++++- + 1 file changed, 9 insertions(+), 1 deletion(-) + +Index: qemu/linux-user/syscall.c +=================================================================== +--- qemu.orig/linux-user/syscall.c 2007-08-09 20:28:06.000000000 +0100 ++++ qemu/linux-user/syscall.c 2007-08-09 20:28:41.000000000 +0100 +@@ -61,7 +61,15 @@ + #define tchars host_tchars /* same as target */ + #define ltchars host_ltchars /* same as target */ + +-#include ++#define FUTEX_WAIT 0 ++#define FUTEX_WAKE 1 ++#define FUTEX_FD 2 ++#define FUTEX_REQUEUE 3 ++#define FUTEX_CMP_REQUEUE 4 ++#define FUTEX_WAKE_OP 5 ++#define FUTEX_LOCK_PI 6 ++#define FUTEX_UNLOCK_PI 7 ++ + #include + #include + #include -- cgit v1.2.3