summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjbeich <jbeich@FreeBSD.org>2017-09-12 05:51:26 +0000
committerjbeich <jbeich@FreeBSD.org>2017-09-12 05:51:26 +0000
commitdf2ac26e72f4fd9912f2144f1e308509561e6f54 (patch)
treea2613d52ae23e0ccedb1fa3771b3f3b862ace78a
parent4c2ebfb3c439ac6b4ea857e576405a523f461873 (diff)
downloadFreeBSD-ports-df2ac26e72f4fd9912f2144f1e308509561e6f54.zip
FreeBSD-ports-df2ac26e72f4fd9912f2144f1e308509561e6f54.tar.gz
MFH: r449673
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) Approved by: ports-secteam blanket
-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 0000000..7716483
--- /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
OpenPOWER on IntegriCloud