SHA256
1
0
forked from pool/qemu
OBS User unknown 2007-06-14 22:28:43 +00:00 committed by Git OBS Bridge
parent 10432b3d4b
commit 9aae051547
4 changed files with 36 additions and 1 deletions

View File

@ -0,0 +1,10 @@
Index: qemu-0.9.0/linux-user/i386/syscall_nr.h
===================================================================
--- qemu-0.9.0.orig/linux-user/i386/syscall_nr.h
+++ qemu-0.9.0/linux-user/i386/syscall_nr.h
@@ -274,3 +274,5 @@
#define TARGET_NR_tgkill 270
#define TARGET_NR_utimes 271
#define TARGET_NR_fadvise64_64 272
+
+#define TARGET_NR_set_robust_list 311

12
qemu-0.9.0-wine.patch Normal file
View File

@ -0,0 +1,12 @@
Index: qemu-0.9.0/linux-user/main.c
===================================================================
--- qemu-0.9.0.orig/linux-user/main.c
+++ qemu-0.9.0/linux-user/main.c
@@ -1787,6 +1787,7 @@ int main(int argc, char **argv)
cpu_x86_load_seg(env, R_FS, __USER_DS);
cpu_x86_load_seg(env, R_GS, __USER_DS);
+ env->segs[R_FS].selector = 0;
#elif defined(TARGET_ARM)
{
int i;

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Jun 14 18:53:18 CEST 2007 - agraf@suse.de
- made wine work (set FS register to 0 on init)
- suppressed robust_list warnings
-------------------------------------------------------------------
Wed Jun 13 22:31:34 CEST 2007 - agraf@suse.de

View File

@ -17,7 +17,7 @@ License: BSD License and BSD-like, GNU General Public License (GPL)
Group: System/Emulators/Other
Summary: Universal CPU emulator
Version: 0.9.0
Release: 35
Release: 36
Source: %name-%version.tar.bz2
#Patch400: qemu-0.7.0-gcc4-dot-syms.patch
#Patch401: qemu-0.8.0-gcc4-hacks.patch
@ -54,6 +54,8 @@ Patch40: qemu-z80.diff
Patch41: qemu-0.9.0-sched.patch
Patch42: qemu-0.9.0-mmap.x86_64.patch
Patch43: qemu-0.9.0-futex.patch
Patch44: qemu-0.9.0-robust_list.patch
Patch45: qemu-0.9.0-wine.patch
Source200: kvm_bios.bin
Source201: zx-rom.bin
Source202: COPYING.zx-rom
@ -148,6 +150,8 @@ Authors:
%patch41 -p1
%patch42 -p1
%patch43 -p1
%patch44 -p1
%patch45 -p1
cp -p %SOURCE200 pc-bios/
cp -p %SOURCE202 .
cd gcc-3.3.5
@ -326,6 +330,9 @@ rm -rf %{gcc33tmp}
%endif
%changelog
* Thu Jun 14 2007 - agraf@suse.de
- made wine work (set FS register to 0 on init)
- suppressed robust_list warnings
* Wed Jun 13 2007 - agraf@suse.de
- made flash player 9 work on ppc
- fixed FUTEX_WAKE_OP on machines where endianness differs