From 84bc537a819d3395bd4451696d9703bbbd887c06 Mon Sep 17 00:00:00 2001 From: tron Date: Sat, 5 Jan 2008 19:38:46 +0000 Subject: Don't define pthread_kill(2) to ENOSYS under Mac OS X Leopard which provides this system call. --- devel/nspr/distinfo | 3 ++- devel/nspr/patches/patch-ae | 13 +++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 devel/nspr/patches/patch-ae (limited to 'devel/nspr') diff --git a/devel/nspr/distinfo b/devel/nspr/distinfo index 4a88b5a59c8..e50f9368a7c 100644 --- a/devel/nspr/distinfo +++ b/devel/nspr/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.12 2007/10/17 07:40:50 bjs Exp $ +$NetBSD: distinfo,v 1.13 2008/01/05 19:38:46 tron Exp $ SHA1 (nspr-4.6.7.tar.gz) = cf45319d02285ec5479445a1e9adfb9e94f55a6a RMD160 (nspr-4.6.7.tar.gz) = 11a0d8b14ebdd441f6899c464b77144704ab638e @@ -7,6 +7,7 @@ SHA1 (patch-aa) = a5dd0a594ecd4487bb626b656a58a5311c7ec587 SHA1 (patch-ab) = fc668ceb47f9063ba9b0514a5da31bda0ca23916 SHA1 (patch-ac) = 365b3a5158db94f1976ecfd2ede120201717ad83 SHA1 (patch-ad) = d0d724ec9cc24e3d6a8f0581696c3a379c272a08 +SHA1 (patch-ae) = 99f0663770d045d98f99ac602569ea084e741a81 SHA1 (patch-af) = 7a94606109277b5af00197164a854f16d4259c0f SHA1 (patch-ag) = 2150cae88a39eaf4588084ad62c611a83e339c75 SHA1 (patch-ah) = 34749dda8e07d9535ef5e158261d0202b7f0e058 diff --git a/devel/nspr/patches/patch-ae b/devel/nspr/patches/patch-ae new file mode 100644 index 00000000000..b8e48c8b3f1 --- /dev/null +++ b/devel/nspr/patches/patch-ae @@ -0,0 +1,13 @@ +$NetBSD: patch-ae,v 1.3 2008/01/05 19:38:46 tron Exp $ + +--- pr/include/md/_pth.h.orig 2005-07-21 19:22:53.000000000 +0100 ++++ pr/include/md/_pth.h 2008-01-05 19:34:33.000000000 +0000 +@@ -205,7 +205,7 @@ + /* + * These platforms don't have pthread_kill() + */ +-#if defined(DARWIN) ++#if defined(DARWIN) && !defined(__DARWIN_SUF_UNIX03) + #define pthread_kill(thread, sig) ENOSYS + #endif + -- cgit v1.2.3