summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/libdv/files/patch-libdv:mmx.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/multimedia/libdv/files/patch-libdv:mmx.h b/multimedia/libdv/files/patch-libdv:mmx.h
new file mode 100644
index 000000000000..7033e5772aa0
--- /dev/null
+++ b/multimedia/libdv/files/patch-libdv:mmx.h
@@ -0,0 +1,25 @@
+--- libdv/mmx.h.orig Thu Apr 26 16:08:25 2001
++++ libdv/mmx.h Sun Feb 10 11:03:54 2002
+@@ -72,6 +72,9 @@
+ __asm__ __volatile__ (
+ /* See if CPUID instruction is supported ... */
+ /* ... Get copies of EFLAGS into eax and ecx */
++ "pushl %%ebx\n\t"
++ "pushl %%ecx\n\t"
++ "pushl %%edx\n\t"
+ "pushf\n\t"
+ "popl %%eax\n\t"
+ "movl %%eax, %%ecx\n\t"
+@@ -207,9 +210,11 @@
+ "movl $0, %0\n\n\t"
+
+ "Return:\n\t"
++ "popl %%edx\n\t"
++ "popl %%ecx\n\t"
++ "popl %%ebx\n\t"
+ : "=a" (rval)
+ : /* no input */
+- : "ebx", "ecx", "edx"
+ );
+
+ /* Return */