diff options
author | hans <hans> | 2011-03-16 14:53:49 +0000 |
---|---|---|
committer | hans <hans> | 2011-03-16 14:53:49 +0000 |
commit | 53015b206038df777d64d241107af419258b974a (patch) | |
tree | ea9a6d43981aa48dc56b55ea803b2c0a643e2a27 /lang/gcc44 | |
parent | 43ac1c0f65b27147c93eef002ee237e8e3456af2 (diff) | |
download | pkgsrc-53015b206038df777d64d241107af419258b974a.tar.gz |
Fix java build on -current i386. Patch from Kai-Uwe Eckhardt.
Diffstat (limited to 'lang/gcc44')
-rw-r--r-- | lang/gcc44/distinfo | 3 | ||||
-rw-r--r-- | lang/gcc44/patches/patch-am | 24 |
2 files changed, 26 insertions, 1 deletions
diff --git a/lang/gcc44/distinfo b/lang/gcc44/distinfo index 261e5b7414c..910c51afadb 100644 --- a/lang/gcc44/distinfo +++ b/lang/gcc44/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.6 2011/03/03 18:02:53 hans Exp $ +$NetBSD: distinfo,v 1.7 2011/03/16 14:53:49 hans Exp $ SHA1 (gcc-4.4.5.tar.bz2) = 2b1427a932a620c909d74f1e4821ed90c90fd350 RMD160 (gcc-4.4.5.tar.bz2) = 87d6fa77d50f23a3359e24bf5b0ddfafa7088478 @@ -15,3 +15,4 @@ SHA1 (patch-ai) = a7329ed9f8bb533c4bf0c2f4cc97b6c49d737148 SHA1 (patch-aj) = 65ba5e1160a3c5934a7098db2f870fa5db63a267 SHA1 (patch-ak) = 891dab9be4f76fef17027c70daee3afcfb720fee SHA1 (patch-al) = 7b21a8968302a3da1c4cfd881cfe8eac1341fa11 +SHA1 (patch-am) = fcfabcec9e6d0b8e9ada348dc65e8ddb890f96ca diff --git a/lang/gcc44/patches/patch-am b/lang/gcc44/patches/patch-am new file mode 100644 index 00000000000..036f006675b --- /dev/null +++ b/lang/gcc44/patches/patch-am @@ -0,0 +1,24 @@ +$NetBSD: patch-am,v 1.1 2011/03/16 14:53:49 hans Exp $ + +--- libjava/boehm.cc.orig 2011-03-05 18:09:36.000000000 +0000 ++++ libjava/boehm.cc +@@ -747,7 +747,8 @@ _Jv_GCAttachThread () + // The registration interface is only defined on posixy systems and + // 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) ++#if defined(HAVE_PTHREAD_GETATTR_NP) && !defined(GC_SOLARIS_THREADS) \ ++ && !defined(__NetBSD__) + GC_register_my_thread (); + #endif + } +@@ -755,7 +756,8 @@ _Jv_GCAttachThread () + void + _Jv_GCDetachThread () + { +-#if defined(HAVE_PTHREAD_GETATTR_NP) && !defined(GC_SOLARIS_THREADS) ++#if defined(HAVE_PTHREAD_GETATTR_NP) && !defined(GC_SOLARIS_THREADS) \ ++ && !defined(__NetBSD__) + GC_unregister_my_thread (); + #endif + } |