summaryrefslogtreecommitdiff
path: root/data/patches/gnuzilla-bug-1010972.patch
diff options
context:
space:
mode:
authorRuben Rodriguez <ruben@gnu.org>2015-03-08 15:14:03 +0000
committerRuben Rodriguez <ruben@gnu.org>2015-03-08 15:14:03 +0000
commit9a0fd32cf6e2ada37675bc743532c5004b16e5e3 (patch)
treed66faa3279486d2e8ad72bf70e7ef522460372a0 /data/patches/gnuzilla-bug-1010972.patch
parent2732de330618bc29b7ab07f4004d8e84f698cf95 (diff)
Added patches to fix build bugs for Windows, MacOS and Android
Diffstat (limited to 'data/patches/gnuzilla-bug-1010972.patch')
-rw-r--r--data/patches/gnuzilla-bug-1010972.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/data/patches/gnuzilla-bug-1010972.patch b/data/patches/gnuzilla-bug-1010972.patch
new file mode 100644
index 0000000..94eaf2b
--- /dev/null
+++ b/data/patches/gnuzilla-bug-1010972.patch
@@ -0,0 +1,11 @@
+--- a/media/libyuv/source/cpu_id.cc 2015-01-27 19:15:52.069520584 +0100
++++ b/media/libyuv/source/cpu_id.cc 2015-01-30 00:50:10.425853894 +0100
+@@ -97,7 +97,7 @@
+ uint32 xcr0 = 0u;
+ #if defined(_MSC_VER) && defined(_XCR_XFEATURE_ENABLED_MASK)
+ xcr0 = (uint32)(_xgetbv(_XCR_XFEATURE_ENABLED_MASK));
+-#elif defined(_M_IX86)
++#elif defined(_MSC_VER) && defined(_M_IX86)
+ __asm {
+ xor ecx, ecx // xcr 0
+ _asm _emit 0x0f _asm _emit 0x01 _asm _emit 0xd0 // For VS2010 and earlier.