aboutsummaryrefslogtreecommitdiff
path: root/www/ungoogled-chromium/files/patch-third__party_ipcz_src_reference__drivers_random.cc
diff options
context:
space:
mode:
authorRobert Nagy <rnagy@FreeBSD.org>2023-05-05 12:57:23 +0000
committerRobert Nagy <rnagy@FreeBSD.org>2023-05-05 12:58:04 +0000
commite89219e9fe0c76b9d0ffb46a1d7f757c35908999 (patch)
tree671e97e3f380e2dc251752a6709ac9a8dcc6404e /www/ungoogled-chromium/files/patch-third__party_ipcz_src_reference__drivers_random.cc
parent10fa0dc759e50889e2b7408f40fba950f9fc7d63 (diff)
downloadports-e89219e9fe0c76b9d0ffb46a1d7f757c35908999.tar.gz
ports-e89219e9fe0c76b9d0ffb46a1d7f757c35908999.zip
Diffstat (limited to 'www/ungoogled-chromium/files/patch-third__party_ipcz_src_reference__drivers_random.cc')
-rw-r--r--www/ungoogled-chromium/files/patch-third__party_ipcz_src_reference__drivers_random.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/www/ungoogled-chromium/files/patch-third__party_ipcz_src_reference__drivers_random.cc b/www/ungoogled-chromium/files/patch-third__party_ipcz_src_reference__drivers_random.cc
index 6fe238d97e35..9e22bfcb66be 100644
--- a/www/ungoogled-chromium/files/patch-third__party_ipcz_src_reference__drivers_random.cc
+++ b/www/ungoogled-chromium/files/patch-third__party_ipcz_src_reference__drivers_random.cc
@@ -1,4 +1,4 @@
---- third_party/ipcz/src/reference_drivers/random.cc.orig 2022-10-01 07:40:07 UTC
+--- third_party/ipcz/src/reference_drivers/random.cc.orig 2023-05-05 12:12:41 UTC
+++ third_party/ipcz/src/reference_drivers/random.cc
@@ -15,7 +15,7 @@
#include <limits>
@@ -7,8 +7,8 @@
-#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID)
+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)
#include <asm/unistd.h>
- #include <errno.h>
#include <sys/syscall.h>
+ #include <unistd.h>
@@ -78,7 +78,7 @@ void RandomBytes(absl::Span<uint8_t> destination) {
ABSL_ASSERT(ok);
#elif BUILDFLAG(IS_FUCHSIA)