aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorjbeich <jbeich@FreeBSD.org>2017-09-12 13:48:43 +0800
committerjbeich <jbeich@FreeBSD.org>2017-09-12 13:48:43 +0800
commit55c0b0ea22c43ff1d03b1e1b47d1669d5d09f5c1 (patch)
treee97ec3c84c115757182be33034bc00ef99a86de4 /www
parent85bf689ade58bc63517b8c4b403e575806119f8a (diff)
downloadfreebsd-ports-gnome-55c0b0ea22c43ff1d03b1e1b47d1669d5d09f5c1.tar.gz
freebsd-ports-gnome-55c0b0ea22c43ff1d03b1e1b47d1669d5d09f5c1.tar.zst
freebsd-ports-gnome-55c0b0ea22c43ff1d03b1e1b47d1669d5d09f5c1.zip
www/firefox: unbreak on powerpc64, sparc64
In file included from objdir/dist/include/mozilla/dom/EventTarget.h:12:0, from dom/base/nsPIDOMWindow.h:15, from objdir/dist/include/mozilla/DOMEventTargetHelper.h:13, from dom/presentation/PresentationAvailability.h:10, from dom/presentation/AvailabilityCollection.cpp:10, from objdir/dom/presentation/Unified_cpp_dom_presentation0.cpp:2: dom/base/nsWrapperCache.h:48:1: error: static assertion failed: Only support 32-bit and 64-bit static_assert(sizeof(void*) == 4, "Only support 32-bit and 64-bit"); ^ Reported by: Martin Husemann (via upstream bug)
Diffstat (limited to 'www')
-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