diff options
Diffstat (limited to 'devel/electron35/files/patch-base_rand__util.h')
-rw-r--r-- | devel/electron35/files/patch-base_rand__util.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/electron35/files/patch-base_rand__util.h b/devel/electron35/files/patch-base_rand__util.h new file mode 100644 index 000000000000..c6cc8d0e2985 --- /dev/null +++ b/devel/electron35/files/patch-base_rand__util.h @@ -0,0 +1,11 @@ +--- base/rand_util.h.orig 2025-03-24 20:50:14 UTC ++++ base/rand_util.h +@@ -209,7 +209,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 + |