]> gitweb @ CieloNegro.org - pkgsrc-firefox3.git/commitdiff
Patch for _pth.h
authorPHO <pho@cielonegro.org>
Wed, 4 Feb 2009 08:33:06 +0000 (17:33 +0900)
committerPHO <pho@cielonegro.org>
Wed, 4 Feb 2009 08:33:06 +0000 (17:33 +0900)
distinfo
patches/patch-as [new file with mode: 0644]

index cc1d9df3bc928f9a614490702108b59c8b8da40f..2fc5622739846c2f4820ba22843dd84e8ec24a33 100644 (file)
--- 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 (file)
index 0000000..3e5800b
--- /dev/null
@@ -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