summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Stransky <stransky@redhat.com>2016-03-03 13:40:14 +0100
committerMartin Stransky <stransky@redhat.com>2016-03-03 13:40:14 +0100
commit73b9476d8c5eedea752d4bbd5dcbdc4a6c3b532d (patch)
treea76ae8eb7cfe4e3de2c759c0a0a2a9d3e841bcb1
parentbuild fixes (diff)
downloadlibrewolf-fedora-ff-73b9476d8c5eedea752d4bbd5dcbdc4a6c3b532d.tar.gz
librewolf-fedora-ff-73b9476d8c5eedea752d4bbd5dcbdc4a6c3b532d.tar.bz2
librewolf-fedora-ff-73b9476d8c5eedea752d4bbd5dcbdc4a6c3b532d.zip
Run-time jit fix - mozbz#1253216
-rw-r--r--firefox.spec2
-rw-r--r--mozilla-1253216.patch12
2 files changed, 14 insertions, 0 deletions
diff --git a/firefox.spec b/firefox.spec
index 46ab661..1c2d4b9 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -130,6 +130,7 @@ Patch223: rhbz-1291190-appchooser-crash.patch
Patch301: mozilla-1205199.patch
Patch302: mozilla-1228540.patch
Patch303: mozilla-1228540-1.patch
+Patch304: mozilla-1253216.patch
# Gtk3 upstream patches
@@ -282,6 +283,7 @@ cd %{tarballdir}
%patch301 -p1 -b .1205199
%patch302 -p1 -b .1228540
%patch303 -p1 -b .1228540-1
+%patch304 -p2 -b .1253216
%patch500 -p1
diff --git a/mozilla-1253216.patch b/mozilla-1253216.patch
new file mode 100644
index 0000000..6de0720
--- /dev/null
+++ b/mozilla-1253216.patch
@@ -0,0 +1,12 @@
+diff -up firefox-45.0/firefox-45.0/js/src/jit/AtomicOperations.h.old firefox-45.0/firefox-45.0/js/src/jit/AtomicOperations.h
+--- firefox-45.0/firefox-45.0/js/src/jit/AtomicOperations.h.old 2016-03-01 09:45:01.000000000 +0100
++++ firefox-45.0/firefox-45.0/js/src/jit/AtomicOperations.h 2016-03-03 13:13:34.915015391 +0100
+@@ -305,7 +305,7 @@ AtomicOperations::isLockfree(int32_t siz
+ || defined(__ppc__) || defined(__PPC__)
+ # include "jit/none/AtomicOperations-ppc.h"
+ #elif defined(JS_CODEGEN_NONE)
+-# include "jit/none/AtomicOperations-none.h"
++# include "jit/none/AtomicOperations-ppc.h"
+ #elif defined(JS_CODEGEN_X86) || defined(JS_CODEGEN_X64)
+ # include "jit/x86-shared/AtomicOperations-x86-shared.h"
+ #else
bgstack15