ports/www/ungoogled-chromium/patches/patch-base_rand_util_h

13 lines
305 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
Index: base/rand_util.h
--- base/rand_util.h.orig
+++ base/rand_util.h
2024-05-20 13:42:05 +00:00
@@ -149,7 +149,7 @@ void RandomShuffle(Itr first, Itr last) {
2023-08-16 22:26:55 +00:00
std::shuffle(first, last, RandomBitGenerator());
}
-#if BUILDFLAG(IS_POSIX)
+#if BUILDFLAG(IS_POSIX) && !BUILDFLAG(IS_BSD)
BASE_EXPORT int GetUrandomFD();
#endif