diff --git a/MozillaFirefox.changes b/MozillaFirefox.changes index da85fd11..e0dfb161 100644 --- a/MozillaFirefox.changes +++ b/MozillaFirefox.changes @@ -13,6 +13,13 @@ Thu May 17 14:01:18 UTC 2018 - wr@rosenauer.org * Restored translations of the Preferences panels when using a language pack (bmo#1461590) +------------------------------------------------------------------- +Tue May 15 06:23:42 UTC 2018 - guillaume.gardet@opensuse.org + +- Disable webrtc for aarch64 due to bmo#1434589 +- Add patch to fix skia build on AArch64: + * mozilla-fix-skia-aarch64.patch + ------------------------------------------------------------------- Mon May 14 13:37:38 UTC 2018 - pcerny@suse.com diff --git a/MozillaFirefox.spec b/MozillaFirefox.spec index 1c10abcc..e9722378 100644 --- a/MozillaFirefox.spec +++ b/MozillaFirefox.spec @@ -156,10 +156,10 @@ Patch8: mozilla-bmo256180.patch Patch9: mozilla-i586-DecoderDoctorLogger.patch Patch10: mozilla-i586-domPrefs.patch Patch11: mozilla-enable-csd.patch +Patch12: mozilla-fix-skia-aarch64.patch # Firefox/browser Patch101: firefox-kde.patch Patch102: firefox-branded-icons.patch - BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires(post): coreutils shared-mime-info desktop-file-utils Requires(postun): shared-mime-info desktop-file-utils @@ -271,6 +271,7 @@ cd $RPM_BUILD_DIR/%{source_prefix} %patch10 -p1 %endif %patch11 -p1 +%patch12 -p1 # Firefox %patch101 -p1 %patch102 -p1 @@ -383,7 +384,7 @@ ac_add_options --with-arch=armv6 ac_add_options --with-arch=armv7-a %endif %endif -%ifarch %arm s390x +%ifarch aarch64 %arm s390x ac_add_options --disable-webrtc %endif EOF diff --git a/mozilla-fix-skia-aarch64.patch b/mozilla-fix-skia-aarch64.patch new file mode 100644 index 00000000..cf649eb9 --- /dev/null +++ b/mozilla-fix-skia-aarch64.patch @@ -0,0 +1,20 @@ +--- firefox-60.0/gfx/skia/skia/src/jumper/SkJumper_stages.cpp.orig 2018-05-14 13:23:26.001095058 +0200 ++++ firefox-60.0/gfx/skia/skia/src/jumper/SkJumper_stages.cpp 2018-05-14 13:24:46.851416500 +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 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)