summaryrefslogtreecommitdiff
path: root/build-ppc-s390-dom.patch
diff options
context:
space:
mode:
authorMartin Stransky <stransky@redhat.com>2017-08-03 12:08:12 +0200
committerMartin Stransky <stransky@redhat.com>2017-08-03 12:08:12 +0200
commitef8411215c102ae58149ae85da27e48ce42ead5c (patch)
tree2779b8be5445fdcb9f852f91a4248ffa43ad3add /build-ppc-s390-dom.patch
parentupdated second arch patches (diff)
downloadlibrewolf-fedora-ff-ef8411215c102ae58149ae85da27e48ce42ead5c.tar.gz
librewolf-fedora-ff-ef8411215c102ae58149ae85da27e48ce42ead5c.tar.bz2
librewolf-fedora-ff-ef8411215c102ae58149ae85da27e48ce42ead5c.zip
Disabled arm, added ppc build fixes
Diffstat (limited to 'build-ppc-s390-dom.patch')
-rw-r--r--build-ppc-s390-dom.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/build-ppc-s390-dom.patch b/build-ppc-s390-dom.patch
new file mode 100644
index 0000000..238c440
--- /dev/null
+++ b/build-ppc-s390-dom.patch
@@ -0,0 +1,14 @@
+diff -up firefox-55.0/dom/base/nsWrapperCache.h.old firefox-55.0/dom/base/nsWrapperCache.h
+--- firefox-55.0/dom/base/nsWrapperCache.h.old 2017-08-03 12:02:06.720927791 +0200
++++ firefox-55.0/dom/base/nsWrapperCache.h 2017-08-03 12:03:16.576707873 +0200
+@@ -41,7 +41,7 @@ class nsWindowRoot;
+ // This may waste space for some other nsWrapperCache-derived objects that have
+ // a 32-bit field as their first member, but those objects are unlikely to be as
+ // numerous or performance-critical as DOM nodes.
+-#if defined(_M_X64) || defined(__x86_64__) || defined(__aarch64__)
++#if defined(_M_X64) || defined(__x86_64__) || defined(__aarch64__) || defined(__PPC64__) || defined(__pcc64le__) || defined(__S390X__) || defined(__s390x__)
+ static_assert(sizeof(void*) == 8, "These architectures should be 64-bit");
+ #define BOOL_FLAGS_ON_WRAPPER_CACHE
+ #else
+diff -up firefox-55.0/media/libyuv/libyuv/tools_libyuv/autoroller/unittests/testdata/DEPS.chromium.old firefox-55.0/media/libyuv/libyuv/tools_libyuv/autoroller/unittests/testdata/DEPS.chromium
+diff -up firefox-55.0/media/webrtc/trunk/Makefile.old firefox-55.0/media/webrtc/trunk/Makefile
bgstack15