summaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-base_rand__util.h
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2022-03-02 10:32:47 +0100
committerRene Ladan <rene@FreeBSD.org>2022-03-02 10:32:47 +0100
commitbfedd5f1f016c174f3fe18cd38c8517ece7b1e9b (patch)
tree1d6f8dd03169ed2d788d910cce625af1608e74d0 /www/chromium/files/patch-base_rand__util.h
parentsecurity/vuxml: add www/chromium < 99.0.4844.51 (diff)
www/chromium: update to 99.0.4844.51
On the port side, this update brings: - libvulkan enabled by default - more unit tests enabled - no longer dependent on Python 2.7 Security: https://vuxml.freebsd.org/freebsd/e0914087-9a09-11ec-9e61-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 1b379c09a366..7afa38819627 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-02-07 13:39:41 UTC
+--- base/rand_util.h.orig 2022-02-28 16:54: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)
+-#if BUILDFLAG(IS_POSIX)
++#if BUILDFLAG(IS_POSIX) && !BUILDFLAG(IS_OPENBSD)
BASE_EXPORT int GetUrandomFD();
#endif