[Pkg-chromium-commit] [pkg-chromium] 01/03: arm64: fix build

Riku Voipio riku at moszumanska.debian.org
Thu Feb 22 14:48:12 UTC 2018


This is an automated email from the git hooks/post-receive script.

riku pushed a commit to branch experimental
in repository pkg-chromium.

commit f311d92f7f9f99469cc938ab818a40d1f18ec235
Author: Riku Voipio <riku.voipio at linaro.org>
Date:   Thu Feb 22 15:56:05 2018 +0200

    arm64: fix build
    
    To fix bug 891062
---
 debian/patches/fixes/skia_buildfix.patch | 22 ++++++++++++++++++++++
 debian/patches/series                    |  1 +
 2 files changed, 23 insertions(+)

diff --git a/debian/patches/fixes/skia_buildfix.patch b/debian/patches/fixes/skia_buildfix.patch
new file mode 100644
index 0000000..5348b9a
--- /dev/null
+++ b/debian/patches/fixes/skia_buildfix.patch
@@ -0,0 +1,22 @@
+Index: chromium-browser-65.0.3325.73/third_party/skia/src/jumper/SkJumper_stages.cpp
+===================================================================
+--- chromium-browser-65.0.3325.73.orig/third_party/skia/src/jumper/SkJumper_stages.cpp
++++ chromium-browser-65.0.3325.73/third_party/skia/src/jumper/SkJumper_stages.cpp
+@@ -666,7 +666,7 @@ SI F approx_powf(F x, F y) {
+ }
+ 
+ SI F from_half(U16 h) {
+-#if defined(__aarch64__) && !defined(SK_BUILD_FOR_GOOGLE3)  // Temporary workaround for some Google3 builds.
++#if defined(JUMPER_IS_NEON) && defined(__aarch64__) && !defined(SK_BUILD_FOR_GOOGLE3)  // Temporary workaround for some Google3 builds.
+     return vcvt_f32_f16(h);
+ 
+ #elif defined(JUMPER_IS_HSW) || defined(JUMPER_IS_AVX512)
+@@ -686,7 +686,7 @@ SI F from_half(U16 h) {
+ }
+ 
+ SI U16 to_half(F f) {
+-#if defined(__aarch64__) && !defined(SK_BUILD_FOR_GOOGLE3)  // Temporary workaround for some Google3 builds.
++#if defined(JUMPER_IS_NEON) && defined(__aarch64__) && !defined(SK_BUILD_FOR_GOOGLE3)  // Temporary workaround for some Google3 builds.
+     return vcvt_f16_f32(f);
+ 
+ #elif defined(JUMPER_IS_HSW) || defined(JUMPER_IS_AVX512)
diff --git a/debian/patches/series b/debian/patches/series
index 7564e7e..111eaa6 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -24,6 +24,7 @@ fixes/duplicate-name.patch
 fixes/widevine-revision.patch
 fixes/connection-message.patch
 fixes/chromedriver-revision.patch
+fixes/skia_buildfix.patch
 
 warnings/comment.patch
 warnings/enum-boolean.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-chromium/pkg-chromium.git



More information about the Pkg-chromium-commit mailing list