summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan Stine <battousai@gentoo.org>2006-01-16 21:56:40 +0000
committerBryan Stine <battousai@gentoo.org>2006-01-16 21:56:40 +0000
commit5e1927c06cb46b40db0578a8069b62f320ead1c7 (patch)
treec64e50e57134daba8defeb9b37c63dfbb00ccb99 /x11-drivers/xf86-input-vmmouse/files
parentStable on hppa. (diff)
downloadhistorical-5e1927c06cb46b40db0578a8069b62f320ead1c7.tar.gz
historical-5e1927c06cb46b40db0578a8069b62f320ead1c7.tar.bz2
historical-5e1927c06cb46b40db0578a8069b62f320ead1c7.zip
Initial import of xf86-input-vmmouse. Needs testing, perhaps a better PIC patch.
Package-Manager: portage-2.1_pre2
Diffstat (limited to 'x11-drivers/xf86-input-vmmouse/files')
-rw-r--r--x11-drivers/xf86-input-vmmouse/files/digest-xf86-input-vmmouse-200601132
-rw-r--r--x11-drivers/xf86-input-vmmouse/files/xf86-input-vmmouse-20060113-PIC-fix.patch27
2 files changed, 29 insertions, 0 deletions
diff --git a/x11-drivers/xf86-input-vmmouse/files/digest-xf86-input-vmmouse-20060113 b/x11-drivers/xf86-input-vmmouse/files/digest-xf86-input-vmmouse-20060113
new file mode 100644
index 000000000000..c3a2dd3f4489
--- /dev/null
+++ b/x11-drivers/xf86-input-vmmouse/files/digest-xf86-input-vmmouse-20060113
@@ -0,0 +1,2 @@
+MD5 1b8cfd2923836ee93eda69abe50dda04 x11-driver-patches-1.tar.bz2 389
+MD5 c76663758d18a7cb805e85abb628b6e4 xf86-input-vmmouse-20060113.tar.bz2 21448
diff --git a/x11-drivers/xf86-input-vmmouse/files/xf86-input-vmmouse-20060113-PIC-fix.patch b/x11-drivers/xf86-input-vmmouse/files/xf86-input-vmmouse-20060113-PIC-fix.patch
new file mode 100644
index 000000000000..4b3594ec453e
--- /dev/null
+++ b/x11-drivers/xf86-input-vmmouse/files/xf86-input-vmmouse-20060113-PIC-fix.patch
@@ -0,0 +1,27 @@
+--- xf86-input-vmmouse-20060113-orig/src/vmmouse_proto.c 2006-01-13 16:47:38.000000000 -0500
++++ xf86-input-vmmouse-20060113/src/vmmouse_proto.c 2006-01-13 16:53:37.000000000 -0500
+@@ -89,6 +89,7 @@
+
+ __asm__ __volatile__(
+ "pushl %%eax" "\n\t"
++ "pushl %%ebx" "\n\t"
+ "movl 20(%%eax), %%edi" "\n\t"
+ "movl 16(%%eax), %%esi" "\n\t"
+ "movl 12(%%eax), %%edx" "\n\t"
+@@ -102,6 +103,7 @@
+ "movl %%edx, 12(%%eax)" "\n\t"
+ "movl %%ecx, 8(%%eax)" "\n\t"
+ "movl %%ebx, 4(%%eax)" "\n\t"
++ "popl (%%ebx)" "\n\t"
+ "popl (%%eax)"
+ : "=a" (dummy)
+ : "0" (cmd)
+@@ -109,7 +111,7 @@
+ * vmware can modify the whole VM state without the compiler knowing
+ * it. So far it does not modify EFLAGS. --hpreg
+ */
+- : "ebx", "ecx", "edx", "esi", "edi", "memory"
++ : "ecx", "edx", "esi", "edi", "memory"
+ );
+ #else
+ #error "VMMouse is only supported on x86 and x86-64."