summaryrefslogtreecommitdiff
path: root/build-aarch64-skia.patch
diff options
context:
space:
mode:
authorMartin Stransky <stransky@redhat.com>2018-04-25 10:57:43 +0200
committerMartin Stransky <stransky@redhat.com>2018-04-25 10:57:43 +0200
commit16c32898b93c9c8ab0595c2bfb2d0eca7ed90489 (patch)
treeb766ff774efcf89e5fc2180d853ad015c48c3239 /build-aarch64-skia.patch
parentForce memory efficient linking on i686 (diff)
downloadlibrewolf-fedora-ff-16c32898b93c9c8ab0595c2bfb2d0eca7ed90489.tar.gz
librewolf-fedora-ff-16c32898b93c9c8ab0595c2bfb2d0eca7ed90489.tar.bz2
librewolf-fedora-ff-16c32898b93c9c8ab0595c2bfb2d0eca7ed90489.zip
Second arches build fixes
Diffstat (limited to 'build-aarch64-skia.patch')
-rw-r--r--build-aarch64-skia.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/build-aarch64-skia.patch b/build-aarch64-skia.patch
new file mode 100644
index 0000000..33d2d35
--- /dev/null
+++ b/build-aarch64-skia.patch
@@ -0,0 +1,21 @@
+diff -up firefox-60.0/gfx/skia/skia/src/jumper/SkJumper_stages.cpp.aarch64-skia firefox-60.0/gfx/skia/skia/src/jumper/SkJumper_stages.cpp
+--- firefox-60.0/gfx/skia/skia/src/jumper/SkJumper_stages.cpp.aarch64-skia 2018-04-20 12:07:26.242037226 +0200
++++ firefox-60.0/gfx/skia/skia/src/jumper/SkJumper_stages.cpp 2018-04-20 12:12:58.916428432 +0200
+@@ -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 0 && 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 0 && 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)
bgstack15