mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-03 17:59:07 -04:00
14 lines
690 B
Plaintext
14 lines
690 B
Plaintext
$NetBSD: patch-bf,v 1.1 2015/07/13 17:49:26 ryoon Exp $
|
|
|
|
--- mozilla/js/src/jsnativestack.cpp.orig 2013-10-23 22:09:02.000000000 +0000
|
|
+++ mozilla/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
|