]> git.pld-linux.org Git - packages/opencv.git/blame - opencv-x86.patch
- remove cmake install directory arch dependant hackery
[packages/opencv.git] / opencv-x86.patch
CommitLineData
158e0ccc
JB
1--- opencv-2.4.10.1/modules/core/src/system.cpp.orig 2014-11-05 06:46:55.000000000 +0100
2+++ opencv-2.4.10.1/modules/core/src/system.cpp 2014-12-13 18:19:43.147556993 +0100
3@@ -273,8 +273,9 @@
4 "movl $7,%%eax\n\t"
5 "movl $0,%%ecx\n\t"
6 "cpuid\n\t"
7+ "movl %%ebx, %%esi\n\t"
8 "popl %%ebx\n\t"
9- : "=a"(cpuid_data[0]), "=b"(cpuid_data[1]), "=c"(cpuid_data[2]), "=d"(cpuid_data[3])
10+ : "=a"(cpuid_data[0]), "=S"(cpuid_data[1]), "=c"(cpuid_data[2]), "=d"(cpuid_data[3])
11 :
12 : "cc"
13 );
This page took 0.022524 seconds and 4 git commands to generate.