summaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-base_rand__util.h
diff options
context:
space:
mode:
authorRobert Nagy <robert@openbsd.org>2022-08-31 19:47:43 +0200
committerRene Ladan <rene@FreeBSD.org>2022-09-03 10:40:22 +0200
commit89b6c3ce8595f65174312096d44b14a77a12721d (patch)
treeaeb179a19c031f080788f4398d8031e2ad8774b5 /www/chromium/files/patch-base_rand__util.h
parentdevel/electron17: deprecate and set to expire on 2022-09-30 (diff)
www/chromium: update to 105.0.5195.52
Security: https://www.vuxml.org/freebsd/f2043ff6-2916-11ed-a1ef-3065ec8fd3ec.html
Diffstat (limited to 'www/chromium/files/patch-base_rand__util.h')
-rw-r--r--www/chromium/files/patch-base_rand__util.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/www/chromium/files/patch-base_rand__util.h b/www/chromium/files/patch-base_rand__util.h
index 7dbf39ebe0ba..9aac9f670070 100644
--- a/www/chromium/files/patch-base_rand__util.h
+++ b/www/chromium/files/patch-base_rand__util.h
@@ -1,11 +1,11 @@
---- base/rand_util.h.orig 2022-03-25 21:59:56 UTC
+--- base/rand_util.h.orig 2022-08-31 12:19:35 UTC
+++ base/rand_util.h
-@@ -81,7 +81,7 @@ void RandomShuffle(Itr first, Itr last) {
+@@ -80,7 +80,7 @@ void RandomShuffle(Itr first, Itr last) {
std::shuffle(first, last, RandomBitGenerator());
}
-#if BUILDFLAG(IS_POSIX)
-+#if BUILDFLAG(IS_POSIX) && !BUILDFLAG(IS_OPENBSD)
++#if BUILDFLAG(IS_POSIX) && !BUILDFLAG(IS_BSD)
BASE_EXPORT int GetUrandomFD();
#endif