SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
24
www/chromium/patches/patch-base_synchronization_lock_impl_h
Normal file
24
www/chromium/patches/patch-base_synchronization_lock_impl_h
Normal file
|
@ -0,0 +1,24 @@
|
|||
Index: base/synchronization/lock_impl.h
|
||||
--- base/synchronization/lock_impl.h.orig
|
||||
+++ base/synchronization/lock_impl.h
|
||||
@@ -104,6 +104,10 @@ void LockImpl::Unlock() {
|
||||
}
|
||||
|
||||
#elif BUILDFLAG(IS_POSIX) || BUILDFLAG(IS_FUCHSIA)
|
||||
+#if BUILDFLAG(IS_FREEBSD)
|
||||
+#pragma GCC diagnostic push
|
||||
+#pragma GCC diagnostic ignored "-Wthread-safety-analysis"
|
||||
+#endif
|
||||
|
||||
#if DCHECK_IS_ON()
|
||||
BASE_EXPORT void dcheck_trylock_result(int rv);
|
||||
@@ -124,6 +128,9 @@ void LockImpl::Unlock() {
|
||||
dcheck_unlock_result(rv);
|
||||
#endif
|
||||
}
|
||||
+#if BUILDFLAG(IS_FREEBSD)
|
||||
+#pragma GCC diagnostic pop
|
||||
+#endif
|
||||
#endif
|
||||
|
||||
// This is an implementation used for AutoLock templated on the lock type.
|
Loading…
Add table
Add a link
Reference in a new issue