Import of pkgsrc-2016Q3

This commit is contained in:
2016-10-14 07:49:11 +02:00
committed by Lionel Sambuc
parent 9d819b6d54
commit 1242aa1e36
35952 changed files with 949749 additions and 377083 deletions

View File

@@ -0,0 +1,22 @@
$NetBSD: patch-libjava_boehm.cc,v 1.1 2016/09/12 22:13:54 maya Exp $
--- libjava/boehm.cc.orig 2014-05-20 18:02:20.000000000 +0000
+++ libjava/boehm.cc
@@ -748,7 +748,7 @@ _Jv_GCAttachThread ()
// only actually works if pthread_getattr_np is defined.
// FIXME: until gc7 it is simpler to disable this on solaris.
#if defined(HAVE_PTHREAD_GETATTR_NP) && !defined(GC_SOLARIS_THREADS) \
- && !defined(GC_WIN32_THREADS)
+ && !defined(__NetBSD__) && !defined(GC_WIN32_THREADS)
GC_register_my_thread ();
#endif
}
@@ -757,7 +757,7 @@ void
_Jv_GCDetachThread ()
{
#if defined(HAVE_PTHREAD_GETATTR_NP) && !defined(GC_SOLARIS_THREADS) \
- && !defined(GC_WIN32_THREADS)
+ && !defined(__NetBSD__) && !defined(GC_WIN32_THREADS)
GC_unregister_my_thread ();
#endif
}