summaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-base_rand__util.h
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium/files/patch-base_rand__util.h')
-rw-r--r--www/chromium/files/patch-base_rand__util.h11
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
+