diff options
| author | Rene Ladan <rene@FreeBSD.org> | 2022-02-20 11:35:15 +0000 |
|---|---|---|
| committer | Rene Ladan <rene@FreeBSD.org> | 2022-02-20 11:42:02 +0000 |
| commit | a23dfd214ae04e8b4d116ca6411570b684eb5ed6 (patch) | |
| tree | a42703b6563673398eee97ae6ad4d01eafd77738 /www/chromium/files/patch-base_synchronization_lock__impl.h | |
| parent | 9341f0aca4ecea11124957da5ea6384640745e43 (diff) | |
Diffstat (limited to 'www/chromium/files/patch-base_synchronization_lock__impl.h')
| -rw-r--r-- | www/chromium/files/patch-base_synchronization_lock__impl.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/www/chromium/files/patch-base_synchronization_lock__impl.h b/www/chromium/files/patch-base_synchronization_lock__impl.h index b64073a52629..5e7c175fb687 100644 --- a/www/chromium/files/patch-base_synchronization_lock__impl.h +++ b/www/chromium/files/patch-base_synchronization_lock__impl.h @@ -1,19 +1,23 @@ ---- base/synchronization/lock_impl.h.orig 2021-12-14 11:44:55 UTC +--- base/synchronization/lock_impl.h.orig 2022-02-07 13:39:41 UTC +++ base/synchronization/lock_impl.h -@@ -107,6 +107,8 @@ void LockImpl::Unlock() { +@@ -107,6 +107,10 @@ void LockImpl::Unlock() { } #elif defined(OS_POSIX) || defined(OS_FUCHSIA) ++#if defined(OS_FREEBSD) +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wthread-safety-analysis" ++#endif BASE_EXPORT std::string SystemErrorCodeToString(int error_code); -@@ -121,6 +123,7 @@ void LockImpl::Unlock() { +@@ -121,6 +125,9 @@ void LockImpl::Unlock() { int rv = pthread_mutex_unlock(&native_handle_); DCHECK_EQ(rv, 0) << ". " << strerror(rv); } ++#if defined(OS_FREEBSD) +#pragma GCC diagnostic pop ++#endif #endif // This is an implementation used for AutoLock templated on the lock type. |
