diff options
author | Rene Ladan <rene@FreeBSD.org> | 2022-02-20 12:35:15 +0100 |
---|---|---|
committer | Rene Ladan <rene@FreeBSD.org> | 2022-02-20 12:42:02 +0100 |
commit | a23dfd214ae04e8b4d116ca6411570b684eb5ed6 (patch) | |
tree | a42703b6563673398eee97ae6ad4d01eafd77738 /www/chromium/files/patch-base_rand__util.h | |
parent | graphics/libglvnd: reduce dependency on gcc for everyone on powerpc64* by usi... (diff) |
www/chromium: update to 98.0.4758.102
- The port now uses the combined patch set for OpenBSD and FreeBSD
maintained by Robert Nagy.
- Fix build on i386 again.
Obtained from: Robert Nagy <robert@openbsd.org>
Security: https://vuxml.freebsd.org/freebsd/e12432af-8e73-11ec-8bc4-3065ec8fd3ec.html
Security: https://vuxml.freebsd.org/freebsd/e852f43c-846e-11ec-b043-3065ec8fd3ec.html
Diffstat (limited to 'www/chromium/files/patch-base_rand__util.h')
-rw-r--r-- | www/chromium/files/patch-base_rand__util.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/www/chromium/files/patch-base_rand__util.h b/www/chromium/files/patch-base_rand__util.h new file mode 100644 index 000000000000..1b379c09a366 --- /dev/null +++ b/www/chromium/files/patch-base_rand__util.h @@ -0,0 +1,11 @@ +--- base/rand_util.h.orig 2022-02-07 13:39:41 UTC ++++ base/rand_util.h +@@ -77,7 +77,7 @@ void RandomShuffle(Itr first, Itr last) { + std::shuffle(first, last, RandomBitGenerator()); + } + +-#if defined(OS_POSIX) ++#if defined(OS_POSIX) && !defined(OS_OPENBSD) + BASE_EXPORT int GetUrandomFD(); + #endif + |