rpms/qemu/devel qemu-0.8.1-syscall-macros.patch, 1.1, 1.2 qemu.spec, 1.13, 1.14
David Woodhouse (dwmw2)
fedora-extras-commits at redhat.com
Thu Jun 8 10:17:29 UTC 2006
Author: dwmw2
Update of /cvs/extras/rpms/qemu/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv14025
Modified Files:
qemu-0.8.1-syscall-macros.patch qemu.spec
Log Message:
fix modify_ldt too to make i386 build
qemu-0.8.1-syscall-macros.patch:
Index: qemu-0.8.1-syscall-macros.patch
===================================================================
RCS file: /cvs/extras/rpms/qemu/devel/qemu-0.8.1-syscall-macros.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- qemu-0.8.1-syscall-macros.patch 7 Jun 2006 21:25:23 -0000 1.1
+++ qemu-0.8.1-syscall-macros.patch 8 Jun 2006 10:17:29 -0000 1.2
@@ -173,3 +173,17 @@
#define __NR_sys_uname __NR_uname
#define __NR_sys_getcwd1 __NR_getcwd
+--- qemu-0.8.1/target-i386/helper2.c.orig 2006-06-08 11:09:41.000000000 +0100
++++ qemu-0.8.1/target-i386/helper2.c 2006-06-08 11:10:30.000000000 +0100
+@@ -35,7 +35,10 @@
+ #include <linux/unistd.h>
+ #include <linux/version.h>
+
+-_syscall3(int, modify_ldt, int, func, void *, ptr, unsigned long, bytecount)
++int modify_ldt(int func, void *ptr, unsigned long bytecount)
++{
++ return syscall(__NR_modify_ldt, func, ptr, bytecount);
++}
+
+ #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 5, 66)
+ #define modify_ldt_ldt_s user_desc
Index: qemu.spec
===================================================================
RCS file: /cvs/extras/rpms/qemu/devel/qemu.spec,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- qemu.spec 7 Jun 2006 21:43:11 -0000 1.13
+++ qemu.spec 8 Jun 2006 10:17:29 -0000 1.14
@@ -1,7 +1,7 @@
Summary: QEMU is a FAST! processor emulator
Name: qemu
Version: 0.8.1
-Release: 2%{?dist}
+Release: 3%{?dist}
License: GPL/LGPL
Group: Development/Tools
@@ -11,7 +11,7 @@
Patch0: qemu-0.7.0-build.patch
Patch1: qemu-0.8.0-sdata.patch
Patch2: qemu-0.8.1-syscall-macros.patch
-BuildRoot: %{_tmppath}/%{name}-%{version}-root
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: SDL-devel compat-gcc-32 zlib-devel texi2html
PreReq: /sbin/chkconfig
PreReq: /sbin/service
@@ -82,7 +82,10 @@
%config %{_sysconfdir}/rc.d/init.d/qemu
%changelog
-* Wed Jun 7 2006 David Woodhouse <dwmw2 at infradead.org> 0.8.1-2
+* Thu Jun 8 2006 David Woodhouse <dwmw2 at infradead.org> 0.8.1-3
+- More header abuse in modify_ldt(), change BuildRoot:
+
+* Wed Jun 7 2006 David Woodhouse <dwmw2 at infradead.org> 0.8.1-2
- Fix up kernel header abuse
* Tue May 30 2006 David Woodhouse <dwmw2 at infradead.org> 0.8.1-1
More information about the fedora-extras-commits
mailing list