From 9a0fd32cf6e2ada37675bc743532c5004b16e5e3 Mon Sep 17 00:00:00 2001 From: Ruben Rodriguez Date: Sun, 8 Mar 2015 15:14:03 +0000 Subject: Added patches to fix build bugs for Windows, MacOS and Android --- data/patches/gnuzilla-bug-1010972.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 data/patches/gnuzilla-bug-1010972.patch (limited to 'data/patches/gnuzilla-bug-1010972.patch') 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. -- cgit v1.2.3