aboutsummaryrefslogtreecommitdiff
path: root/www/firefox/files/patch-bug1376277
diff options
context:
space:
mode:
Diffstat (limited to 'www/firefox/files/patch-bug1376277')
-rw-r--r--www/firefox/files/patch-bug137627722
1 files changed, 22 insertions, 0 deletions
diff --git a/www/firefox/files/patch-bug1376277 b/www/firefox/files/patch-bug1376277
new file mode 100644
index 000000000000..77164834a9bd
--- /dev/null
+++ b/www/firefox/files/patch-bug1376277
@@ -0,0 +1,22 @@
+commit ac723ae99f3a
+Author: Petr Sumbera <petr.sumbera@oracle.com>
+Date: Tue Jun 27 01:33:49 2017 -0700
+
+ Bug 1376277 - nsWrapperCache.h: add support for 64bits sparc build. r=glandium
+---
+ dom/base/nsWrapperCache.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git dom/base/nsWrapperCache.h dom/base/nsWrapperCache.h
+index b00d7aceb5c8..994ed73332ff 100644
+--- dom/base/nsWrapperCache.h
++++ dom/base/nsWrapperCache.h
+@@ -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(__LP64__)
+ static_assert(sizeof(void*) == 8, "These architectures should be 64-bit");
+ #define BOOL_FLAGS_ON_WRAPPER_CACHE
+ #else