diff options
| author | Lexi Winter <ivy@FreeBSD.org> | 2025-12-01 03:19:41 +0000 |
|---|---|---|
| committer | Lexi Winter <ivy@FreeBSD.org> | 2025-12-01 03:19:41 +0000 |
| commit | 2e80774d0b20d167bc0a9e2b63dafbfb171c0d22 (patch) | |
| tree | 25f0138e1af8902b92dacc8cce09b267447c17db /devel/electron39/files/patch-ipc_ipc__channel.cc | |
| parent | f85f2b2d6e5b7ed869376eb4b180c3a74a5c5da9 (diff) | |
| parent | 1a30da80670973368b399f2b01fe9c04b91a1273 (diff) | |
Merge remote-tracking branch 'freebsd/main' into lf/mainlf/main
Diffstat (limited to 'devel/electron39/files/patch-ipc_ipc__channel.cc')
| -rw-r--r-- | devel/electron39/files/patch-ipc_ipc__channel.cc | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/devel/electron39/files/patch-ipc_ipc__channel.cc b/devel/electron39/files/patch-ipc_ipc__channel.cc new file mode 100644 index 000000000000..026140deb02b --- /dev/null +++ b/devel/electron39/files/patch-ipc_ipc__channel.cc @@ -0,0 +1,20 @@ +--- ipc/ipc_channel.cc.orig 2025-10-21 20:19:54 UTC ++++ ipc/ipc_channel.cc +@@ -22,7 +22,7 @@ base::AtomicSequenceNumber g_last_id; + // Global atomic used to guarantee channel IDs are unique. + base::AtomicSequenceNumber g_last_id; + +-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) + + int g_global_pid = 0; + +@@ -60,7 +60,7 @@ std::string Channel::GenerateUniqueRandomChannelID() { + base::RandInt(0, std::numeric_limits<int32_t>::max())); + } + +-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) + // static + void Channel::SetGlobalPid(int pid) { + g_global_pid = pid; |
