diff options
author | fhajny <fhajny@pkgsrc.org> | 2015-09-08 07:48:19 +0000 |
---|---|---|
committer | fhajny <fhajny@pkgsrc.org> | 2015-09-08 07:48:19 +0000 |
commit | d9962bbeb8f0607fdf0e39ad042d15d2a4684557 (patch) | |
tree | bc85dd059ff5c47256d3f7f21f51cee75930d9ee /databases | |
parent | 8e88fa2eca4dfa6039340c2191a561979a9b6ec8 (diff) | |
download | pkgsrc-d9962bbeb8f0607fdf0e39ad042d15d2a4684557.tar.gz |
Fix patch previously committed. Fixes PR pkg/50205.
Diffstat (limited to 'databases')
-rw-r--r-- | databases/mongodb/distinfo | 4 | ||||
-rw-r--r-- | databases/mongodb/patches/patch-src_third__party_v8-3.25_src_platform_semaphore.cc | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/databases/mongodb/distinfo b/databases/mongodb/distinfo index 2f445effac5..8a11b1c6c0d 100644 --- a/databases/mongodb/distinfo +++ b/databases/mongodb/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.6 2015/09/07 11:52:56 fhajny Exp $ +$NetBSD: distinfo,v 1.7 2015/09/08 07:48:19 fhajny Exp $ SHA1 (mongodb-src-r3.0.6.tar.gz) = b80acf2cd63b3bce27d860581ce17a3aad2b8ea8 RMD160 (mongodb-src-r3.0.6.tar.gz) = 3e3dc920c0790826b54d02e5a82faace48da9e9f @@ -13,6 +13,6 @@ SHA1 (patch-src_mongo_util_intrusive__counter.h) = d242db05708c999bd19f2751bdc88 SHA1 (patch-src_third__party_s2_base_port.h) = 8e715efbfcacaba51d957c21aa32ccfd3cc4f736 SHA1 (patch-src_third__party_v8-3.25_SConscript) = a8da59130c36b2be3b89498ba0b23b1c7c9ab9e6 SHA1 (patch-src_third__party_v8-3.25_src_platform-posix.cc) = 2fa27016a9af828d1c01815739770918a2d53d16 -SHA1 (patch-src_third__party_v8-3.25_src_platform_semaphore.cc) = 1875441d4d7daed8ac49ef935d3cb138e29ddadd +SHA1 (patch-src_third__party_v8-3.25_src_platform_semaphore.cc) = 92447c13b379eeb4d9f8bac9455d78d54b4f9e32 SHA1 (patch-src_third__party_wiredtiger_SConscript) = b9ed24d0c05e812d66941f94a77cf4c91f55d43b SHA1 (patch-src_third__party_wiredtiger_build__netbsd_wiredtiger__config.h) = e41064c0ff7268efc795782312ff413295cbcba7 diff --git a/databases/mongodb/patches/patch-src_third__party_v8-3.25_src_platform_semaphore.cc b/databases/mongodb/patches/patch-src_third__party_v8-3.25_src_platform_semaphore.cc index 6a69720e4b0..3e073abc5ae 100644 --- a/databases/mongodb/patches/patch-src_third__party_v8-3.25_src_platform_semaphore.cc +++ b/databases/mongodb/patches/patch-src_third__party_v8-3.25_src_platform_semaphore.cc @@ -1,4 +1,4 @@ -$NetBSD: patch-src_third__party_v8-3.25_src_platform_semaphore.cc,v 1.1 2015/09/07 11:52:56 fhajny Exp $ +$NetBSD: patch-src_third__party_v8-3.25_src_platform_semaphore.cc,v 1.2 2015/09/08 07:48:19 fhajny Exp $ Work around lack of sem_timedwait(3) in NetBSD < 6.99.4. Adapted from d4f11c0cf476dd854eaebec1cbacb1afc7bea18e of the Chromium V8 sources. @@ -31,7 +31,7 @@ Adapted from d4f11c0cf476dd854eaebec1cbacb1afc7bea18e of the Chromium V8 sources + do { + int result = sem_trywait(&native_handle_); + if (result == 0) return true; -+ DCHECK(errno == EAGAIN || errno == EINTR); ++ ASSERT(errno == EAGAIN || errno == EINTR); + } while (!timer.HasExpired(rel_time)); + return false; +#else |