diff --git a/network/web/chromium-browser/files/skia-avx2.patch b/network/web/chromium-browser/files/skia-avx2.patch new file mode 100644 index 0000000000..27e994d2e7 --- /dev/null +++ b/network/web/chromium-browser/files/skia-avx2.patch @@ -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__) \ No newline at end of file diff --git a/network/web/chromium-browser/pspec.xml b/network/web/chromium-browser/pspec.xml index 97a1151c2b..fea5bdcdff 100644 --- a/network/web/chromium-browser/pspec.xml +++ b/network/web/chromium-browser/pspec.xml @@ -97,6 +97,7 @@ pisilinux/last_commit_position.patch chromium-58.0.3029.81-system_ffmpeg-1.patch chromium-gn-bootstrap-r2.patch + skia-avx2.patch @@ -166,7 +167,7 @@ - 2017-04-30 + 2017-05-10 58.0.3029.81 Version Bump Mustafa Cinasal @@ -193,7 +194,7 @@ Ergün Salman poyraz76@pisilinux.org - + 2016-09-06 53.0.2785.92 Version Bump. @@ -236,4 +237,4 @@ admin@pisilinux.org - + \ No newline at end of file