summaryrefslogtreecommitdiff
path: root/www/firefox/files/patch-bug787904
diff options
context:
space:
mode:
Diffstat (limited to 'www/firefox/files/patch-bug787904')
-rw-r--r--www/firefox/files/patch-bug78790412
1 files changed, 12 insertions, 0 deletions
diff --git a/www/firefox/files/patch-bug787904 b/www/firefox/files/patch-bug787904
new file mode 100644
index 000000000000..55f7a6046813
--- /dev/null
+++ b/www/firefox/files/patch-bug787904
@@ -0,0 +1,12 @@
+--- js/src/gc/Heap.h
++++ js/src/gc/Heap.h
+@@ -108,7 +108,8 @@ struct Cell
+ * Bug 692267: Move page size definition to gc/Memory.h and include it
+ * directly once jsgc.h is no longer an installed header.
+ */
+-#if defined(SOLARIS) && (defined(__sparc) || defined(__sparcv9))
++#if (defined(SOLARIS) || defined(__FreeBSD__)) && \
++ (defined(__sparc) || defined(__sparcv9) || defined(__ia64))
+ const size_t PageShift = 13;
+ #else
+ const size_t PageShift = 12;