summaryrefslogtreecommitdiff
path: root/www/firefox31/patches/patch-bf
diff options
context:
space:
mode:
Diffstat (limited to 'www/firefox31/patches/patch-bf')
-rw-r--r--www/firefox31/patches/patch-bf13
1 files changed, 13 insertions, 0 deletions
diff --git a/www/firefox31/patches/patch-bf b/www/firefox31/patches/patch-bf
new file mode 100644
index 00000000000..fa3464fab9a
--- /dev/null
+++ b/www/firefox31/patches/patch-bf
@@ -0,0 +1,13 @@
+$NetBSD: patch-bf,v 1.1 2014/11/03 12:18:32 ryoon Exp $
+
+--- js/src/jsnativestack.cpp.orig 2013-09-10 03:43:36.000000000 +0000
++++ js/src/jsnativestack.cpp
+@@ -114,7 +114,7 @@ js::GetNativeStackBaseImpl()
+ pthread_attr_init(&sattr);
+ # if defined(__OpenBSD__)
+ stack_t ss;
+-# elif defined(PTHREAD_NP_H) || defined(_PTHREAD_NP_H_) || defined(NETBSD)
++# elif defined(PTHREAD_NP_H) || defined(_PTHREAD_NP_H_) || defined(__DragonFly__) || defined(NETBSD) || defined(__NetBSD__) /* XXX tnn not sure why NETBSD isn't defined, it looks like it should be ... */
+ /* e.g. on FreeBSD 4.8 or newer, neundorf@kde.org */
+ pthread_attr_get_np(thread, &sattr);
+ # else