summaryrefslogtreecommitdiff
path: root/build-ppc-jit.patch
diff options
context:
space:
mode:
authorMartin Stransky <stransky@redhat.com>2017-08-09 09:32:31 +0200
committerMartin Stransky <stransky@redhat.com>2017-08-09 09:32:31 +0200
commitfd7019879bd9bb1503ffb196a7c9c84f98b8c2c6 (patch)
treee84321f27c5a96393cde66cf520218bef9b3141d /build-ppc-jit.patch
parentAdded missing patch (diff)
downloadlibrewolf-fedora-ff-fd7019879bd9bb1503ffb196a7c9c84f98b8c2c6.tar.gz
librewolf-fedora-ff-fd7019879bd9bb1503ffb196a7c9c84f98b8c2c6.tar.bz2
librewolf-fedora-ff-fd7019879bd9bb1503ffb196a7c9c84f98b8c2c6.zip
Added ppc build fix
Diffstat (limited to 'build-ppc-jit.patch')
-rw-r--r--build-ppc-jit.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/build-ppc-jit.patch b/build-ppc-jit.patch
index 9cf7a86..da2d315 100644
--- a/build-ppc-jit.patch
+++ b/build-ppc-jit.patch
@@ -10,3 +10,17 @@ diff -up firefox-55.0/js/src/jit/MIR.h.old firefox-55.0/js/src/jit/MIR.h
}
RoundingMode roundingMode() const { return roundingMode_; }
+diff -up firefox-55.0/js/src/jit/ExecutableAllocator.h.old firefox-55.0/js/src/jit/ExecutableAllocator.h
+--- firefox-55.0/js/src/jit/ExecutableAllocator.h.old 2017-08-09 09:24:18.784983505 +0200
++++ firefox-55.0/js/src/jit/ExecutableAllocator.h 2017-08-09 09:28:01.471100075 +0200
+@@ -307,6 +307,10 @@ class ExecutableAllocator
+ {
+ sync_instruction_memory((caddr_t)code, size);
+ }
++#elif defined(__ppc__) || defined(__ppc64__) || defined(__ppc64le__)
++ static void cacheFlush(void*, size_t)
++ {
++ }
+ #endif
+
+ private:
bgstack15