From 94b2d29d06ff1ac6514fb941d62af4915c02f4d274b9d1885bb2a8188c0fe6f0 Mon Sep 17 00:00:00 2001 From: Wolfgang Rosenauer Date: Thu, 28 Mar 2019 10:24:32 +0000 Subject: [PATCH] Accepting request 689279 from home:Guillaume_G:branches:mozilla:Factory - Add patch to fix aarch64 build: * mozilla-fix-aarch64-libopus.patch (bmo#1539737) OBS-URL: https://build.opensuse.org/request/show/689279 OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/MozillaFirefox?expand=0&rev=727 --- MozillaFirefox.changes | 6 ++++++ MozillaFirefox.spec | 2 ++ mozilla-fix-aarch64-libopus.patch | 11 +++++++++++ 3 files changed, 19 insertions(+) create mode 100644 mozilla-fix-aarch64-libopus.patch diff --git a/MozillaFirefox.changes b/MozillaFirefox.changes index 083f388..09f576d 100644 --- a/MozillaFirefox.changes +++ b/MozillaFirefox.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Mar 28 09:58:36 UTC 2019 - Guillaume GARDET + +- Add patch to fix aarch64 build: + * mozilla-fix-aarch64-libopus.patch (bmo#1539737) + ------------------------------------------------------------------- Fri Mar 22 22:22:08 UTC 2019 - Wolfgang Rosenauer diff --git a/MozillaFirefox.spec b/MozillaFirefox.spec index 2aa8e38..be6cc3a 100644 --- a/MozillaFirefox.spec +++ b/MozillaFirefox.spec @@ -163,6 +163,7 @@ Patch4: mozilla-openaes-decl.patch Patch7: mozilla-aarch64-startup-crash.patch Patch9: mozilla-bmo1463035.patch Patch10: mozilla-cubeb-noreturn.patch +Patch11: mozilla-fix-aarch64-libopus.patch # Firefox/browser Patch101: firefox-kde.patch Patch102: firefox-branded-icons.patch @@ -269,6 +270,7 @@ cd $RPM_BUILD_DIR/%{source_prefix} %patch7 -p1 %patch9 -p1 %patch10 -p1 +%patch11 -p1 # Firefox %patch101 -p1 %patch102 -p1 diff --git a/mozilla-fix-aarch64-libopus.patch b/mozilla-fix-aarch64-libopus.patch new file mode 100644 index 0000000..ca722fe --- /dev/null +++ b/mozilla-fix-aarch64-libopus.patch @@ -0,0 +1,11 @@ +--- firefox-66.0.1.orig/media/libopus/silk/arm/arm_silk_map.c 2019-03-22 06:05:57.000000000 +0100 ++++ firefox-66.0.1/media/libopus/silk/arm/arm_silk_map.c 2019-03-28 09:35:28.604948775 +0100 +@@ -28,7 +28,7 @@ POSSIBILITY OF SUCH DAMAGE. + # include "config.h" + #endif + +-#include "main_FIX.h" ++#include "../fixed/main_FIX.h" + #include "NSQ.h" + #include "SigProc_FIX.h" +