chromium-browser: patched for gcc

This commit is contained in:
suvari
2017-05-10 20:29:01 +03:00
parent af73ecda51
commit 5b123260cb
2 changed files with 19 additions and 3 deletions
@@ -0,0 +1,15 @@
Disable AVX2 code to prevent build failure with GCC
Bug: https://bugs.gentoo.org/608640
--- a/third_party/skia/include/core/SkPreConfig.h
+++ b/third_party/skia/include/core/SkPreConfig.h
@@ -125,7 +125,7 @@
// These checks must be done in descending order to ensure we set the highest
// available SSE level.
#if defined(__AVX2__)
- #define SK_CPU_SSE_LEVEL SK_CPU_SSE_LEVEL_AVX2
+ #define SK_CPU_SSE_LEVEL SK_CPU_SSE_LEVEL_AVX
#elif defined(__AVX__)
#define SK_CPU_SSE_LEVEL SK_CPU_SSE_LEVEL_AVX
#elif defined(__SSE4_2__)
+4 -3
View File
@@ -97,6 +97,7 @@
<Patch level="1">pisilinux/last_commit_position.patch</Patch>
<Patch level="1">chromium-58.0.3029.81-system_ffmpeg-1.patch</Patch>
<Patch level="1">chromium-gn-bootstrap-r2.patch</Patch>
<Patch level="1">skia-avx2.patch</Patch>
</Patches>
</Source>
<Package>
@@ -166,7 +167,7 @@
<History>
<Update release="10">
<Date>2017-04-30</Date>
<Date>2017-05-10</Date>
<Version>58.0.3029.81</Version>
<Comment>Version Bump</Comment>
<Name>Mustafa Cinasal</Name>
@@ -193,7 +194,7 @@
<Name>Ergün Salman</Name>
<Email>poyraz76@pisilinux.org</Email>
</Update>
<Update release="6">
<Update release="6">
<Date>2016-09-06</Date>
<Version>53.0.2785.92</Version>
<Comment>Version Bump.</Comment>
@@ -236,4 +237,4 @@
<Email>admin@pisilinux.org</Email>
</Update>
</History>
</PISI>
</PISI>