From 7cf1e91a130a6be60421375e696d308070e00c26 Mon Sep 17 00:00:00 2001 From: PHO Date: Wed, 4 Feb 2009 17:33:06 +0900 Subject: [PATCH] Patch for _pth.h --- distinfo | 1 + patches/patch-as | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 patches/patch-as diff --git a/distinfo b/distinfo index cc1d9df..2fc5622 100644 --- a/distinfo +++ b/distinfo @@ -21,6 +21,7 @@ SHA1 (patch-ao) = 6d6fec20fde2fd4570b301349dc9303b66321a9b SHA1 (patch-ap) = 552694ac2d6ca713aec98ec394f1215c048c2392 SHA1 (patch-aq) = 91a9a3f39286a9fedfd4122084f2fb9f427040fb SHA1 (patch-ar) = fab004236f5f0224386bb7ca7e64210a1b2b3cc5 +SHA1 (patch-as) = c0c53394379166419c2aaed8410715c6c98f8a14 SHA1 (patch-ax) = cbfe7a6392d5d2fefff123679ba1c056b1cc0aa9 SHA1 (patch-ba) = 3bd713cf2edcc61f489cea8269ca60e27c26f1d9 SHA1 (patch-bb) = c7286542a9fe97ac9819a00c345272efb7e90e9c diff --git a/patches/patch-as b/patches/patch-as new file mode 100644 index 0000000..3e5800b --- /dev/null +++ b/patches/patch-as @@ -0,0 +1,13 @@ +$NetBSD$ + +--- nsprpub/pr/include/md/_pth.h.orig 2009-02-04 17:29:29.000000000 +0900 ++++ nsprpub/pr/include/md/_pth.h +@@ -98,7 +98,7 @@ + #else + #define _PT_PTHREAD_MUTEX_IS_LOCKED(m) (EBUSY == pthread_mutex_trylock(&(m))) + #endif +-#if defined(DARWIN) ++#if defined(DARWIN) && !defined(__DARWIN_UNIX03) + #define _PT_PTHREAD_CONDATTR_INIT(x) 0 + #else + #define _PT_PTHREAD_CONDATTR_INIT pthread_condattr_init -- 2.40.0