summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Horak <jhorak@redhat.com>2019-10-22 12:38:47 +0200
committerJan Horak <jhorak@redhat.com>2019-10-22 12:38:47 +0200
commit224952cb674dd7045c020467766841c17ecf1d93 (patch)
tree3767dbf27c5222c7c90ac4c0239f7aa224adaa5d
parent- Put cbindgen .cargo/config to separate dir to avoid overwriting original stuff (diff)
downloadlibrewolf-fedora-ff-224952cb674dd7045c020467766841c17ecf1d93.tar.gz
librewolf-fedora-ff-224952cb674dd7045c020467766841c17ecf1d93.tar.bz2
librewolf-fedora-ff-224952cb674dd7045c020467766841c17ecf1d93.zip
Resolves: #1466936 Fixed aarch build patch rhbz-1354671.patch
-rw-r--r--rhbz-1354671.patch14
1 files changed, 7 insertions, 7 deletions
diff --git a/rhbz-1354671.patch b/rhbz-1354671.patch
index 1f867eb..b6e8bbd 100644
--- a/rhbz-1354671.patch
+++ b/rhbz-1354671.patch
@@ -1,12 +1,12 @@
-diff -up firefox-65.0/layout/base/PresShell.h.1354671 firefox-65.0/layout/base/PresShell.h
---- firefox-65.0/layout/base/PresShell.h.1354671 2019-01-29 11:50:08.516649643 +0100
-+++ firefox-65.0/layout/base/PresShell.h 2019-01-29 11:51:48.930258629 +0100
-@@ -205,7 +205,7 @@ class nsIPresShell : public nsStubDocume
+diff -up firefox-70.0/layout/base/PresShell.h.1354671 firefox-70.0/layout/base/PresShell.h
+--- firefox-70.0/layout/base/PresShell.h.1354671 2019-10-22 12:33:12.987775587 +0200
++++ firefox-70.0/layout/base/PresShell.h 2019-10-22 12:36:39.999366086 +0200
+@@ -257,7 +257,7 @@ class PresShell final : public nsStubDoc
* to the same aSize value. AllocateFrame is infallible and will abort
* on out-of-memory.
*/
- void* AllocateFrame(nsQueryFrame::FrameIID aID, size_t aSize) {
+ void* __attribute__((optimize("no-lifetime-dse"))) AllocateFrame(nsQueryFrame::FrameIID aID, size_t aSize) {
- void* result = mFrameArena.AllocateByFrameID(aID, aSize);
- RecordAlloc(result);
- return result;
+ #define FRAME_ID(classname, ...) \
+ static_assert(size_t(nsQueryFrame::FrameIID::classname##_id) == \
+ size_t(eArenaObjectID_##classname), \
bgstack15