diff options
Diffstat (limited to 'devel/electron36/files/patch-base_rand__util.h')
-rw-r--r-- | devel/electron36/files/patch-base_rand__util.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/electron36/files/patch-base_rand__util.h b/devel/electron36/files/patch-base_rand__util.h new file mode 100644 index 000000000000..0c8366b1d691 --- /dev/null +++ b/devel/electron36/files/patch-base_rand__util.h @@ -0,0 +1,11 @@ +--- base/rand_util.h.orig 2025-04-22 20:15:27 UTC ++++ base/rand_util.h +@@ -213,7 +213,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 + |