SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
12
www/chromium/patches/patch-base_rand_util_h
Normal file
12
www/chromium/patches/patch-base_rand_util_h
Normal file
|
@ -0,0 +1,12 @@
|
|||
Index: base/rand_util.h
|
||||
--- base/rand_util.h.orig
|
||||
+++ base/rand_util.h
|
||||
@@ -121,7 +121,7 @@ void RandomShuffle(Itr first, Itr last) {
|
||||
std::shuffle(first, last, RandomBitGenerator());
|
||||
}
|
||||
|
||||
-#if BUILDFLAG(IS_POSIX)
|
||||
+#if BUILDFLAG(IS_POSIX) && !BUILDFLAG(IS_BSD)
|
||||
BASE_EXPORT int GetUrandomFD();
|
||||
#endif
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue