summaryrefslogtreecommitdiff
path: root/www/libxul/files/patch-bug787904
diff options
context:
space:
mode:
authorFlorian Smeets <flo@FreeBSD.org>2013-06-04 15:47:49 +0000
committerFlorian Smeets <flo@FreeBSD.org>2013-06-04 15:47:49 +0000
commit96b39667d354296d9907781fc508aaf7849a21be (patch)
treebc0f5b36fc5a70cd40b8c78438424de36296939f /www/libxul/files/patch-bug787904
parentConvert to new options framework (diff)
Update to 17.0.6 (this should also fix the build on head after the
clang 3.3 merge) PR: ports/179034 [1] Submitted by: Jan Beich <jbeich@tormail.org>, Nikolai Lifanov <lifanov@mail.lifanov.com> [1]
Diffstat (limited to 'www/libxul/files/patch-bug787904')
-rw-r--r--www/libxul/files/patch-bug78790412
1 files changed, 12 insertions, 0 deletions
diff --git a/www/libxul/files/patch-bug787904 b/www/libxul/files/patch-bug787904
new file mode 100644
index 000000000000..55f7a6046813
--- /dev/null
+++ b/www/libxul/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;