| raw e-mail | index | archive | help
diff --git a/www/ungoogled-chromium/Makefile b/www/ungoogled-chromium/Makefile
index 2eb29d3e3a95..7e15fa1f1f9c 100644
--- a/www/ungoogled-chromium/Makefile
+++ b/www/ungoogled-chromium/Makefile
@@ -1,6 +1,5 @@
PORTNAME= ungoogled-chromium
-PORTVERSION= 140.0.7339.207
-PORTREVISION= 1
+PORTVERSION= 141.0.7390.107
PULSEMV= 16
PULSEV= ${PULSEMV}.1
UGVERSION= ${DISTVERSION}-1
diff --git a/www/ungoogled-chromium/distinfo b/www/ungoogled-chromium/distinfo
index 92bef0cc1ab8..2c617f992dec 100644
--- a/www/ungoogled-chromium/distinfo
+++ b/www/ungoogled-chromium/distinfo
@@ -1,9 +1,9 @@
-TIMESTAMP = 1758747358
-SHA256 (chromium-140.0.7339.207.tar.xz) = 8d0ca453c3a055cbbca7588ba04a5117812e6e827d72611d3fbc88ba5f1f118b
-SIZE (chromium-140.0.7339.207.tar.xz) = 7433359380
+TIMESTAMP = 1761065959
+SHA256 (chromium-141.0.7390.107.tar.xz) = f2b0a5d6e40ab4a26536b5026a2d3196ac4753fc143e3c237a54763fe16a265b
+SIZE (chromium-141.0.7390.107.tar.xz) = 7516836980
SHA256 (pulseaudio-16.1.tar.gz) = 027266c62f2a84422ac45fa721a649508f0f1628fb1fd9242315ac54ce2d7c92
SIZE (pulseaudio-16.1.tar.gz) = 2763111
-SHA256 (chromium-140.0.7339.207-testdata.tar.xz) = db48bb86cb350f8976f565e96b1e5b0702522bdb6284a13cd2ddcca0726d7918
-SIZE (chromium-140.0.7339.207-testdata.tar.xz) = 925208072
-SHA256 (ungoogled-software-ungoogled-chromium-140.0.7339.207-140.0.7339.207-1_GH0.tar.gz) = 6592c09f06a2adcbfc8dba3e216dc3a08ca2f8c940fc2725af90c5d042404be9
-SIZE (ungoogled-software-ungoogled-chromium-140.0.7339.207-140.0.7339.207-1_GH0.tar.gz) = 642233
+SHA256 (chromium-141.0.7390.107-testdata.tar.xz) = b41080dd68a15e1513d46284b29e33b913af6723e2c92026ab8ec2dc9cb90fb5
+SIZE (chromium-141.0.7390.107-testdata.tar.xz) = 925395556
+SHA256 (ungoogled-software-ungoogled-chromium-141.0.7390.107-141.0.7390.107-1_GH0.tar.gz) = 338bebdad1766880d1ea0fcab344f1c64eb7bc78d73ae41f70da222d24793afb
+SIZE (ungoogled-software-ungoogled-chromium-141.0.7390.107-141.0.7390.107-1_GH0.tar.gz) = 644757
diff --git a/www/ungoogled-chromium/files/patch-BUILD.gn b/www/ungoogled-chromium/files/patch-BUILD.gn
index 33edb8fbd5b1..2609d3d97ad7 100644
--- a/www/ungoogled-chromium/files/patch-BUILD.gn
+++ b/www/ungoogled-chromium/files/patch-BUILD.gn
@@ -1,4 +1,4 @@
---- BUILD.gn.orig 2025-09-10 13:22:16 UTC
+--- BUILD.gn.orig 2025-10-21 16:57:35 UTC
+++ BUILD.gn
@@ -68,7 +68,7 @@ declare_args() {
root_extra_deps = []
@@ -60,7 +60,7 @@
deps += [
"//third_party/crashpad/crashpad:crashpad_tests",
"//third_party/crashpad/crashpad/handler:crashpad_handler",
-@@ -1085,7 +1093,7 @@ if (use_blink && !is_cronet_build) {
+@@ -1084,7 +1092,7 @@ if (use_blink && !is_cronet_build) {
"//third_party/blink/public:all_blink",
]
@@ -69,7 +69,7 @@
deps += [
":chrome_wpt_tests",
":headless_shell_wpt",
-@@ -1238,7 +1246,7 @@ if (use_blink && !is_cronet_build) {
+@@ -1237,7 +1245,7 @@ if (use_blink && !is_cronet_build) {
data_deps += [ "//content/web_test:web_test_common_mojom_js_data_deps" ]
}
@@ -78,7 +78,7 @@
# Using the default toolchain for this tool, as it's run during tests not
# during the build. This places a symlink in the root_build_dir for scrips
# to use.
-@@ -1252,7 +1260,7 @@ if (use_blink && !is_cronet_build) {
+@@ -1251,7 +1259,7 @@ if (use_blink && !is_cronet_build) {
data_deps += [ "//third_party/breakpad:dump_syms" ]
}
diff --git a/www/ungoogled-chromium/files/patch-base_BUILD.gn b/www/ungoogled-chromium/files/patch-base_BUILD.gn
index cf6b073e8933..71b8cc591fa4 100644
--- a/www/ungoogled-chromium/files/patch-base_BUILD.gn
+++ b/www/ungoogled-chromium/files/patch-base_BUILD.gn
@@ -1,6 +1,6 @@
---- base/BUILD.gn.orig 2025-09-10 13:22:16 UTC
+--- base/BUILD.gn.orig 2025-10-21 16:57:35 UTC
+++ base/BUILD.gn
-@@ -1110,11 +1110,26 @@ component("base") {
+@@ -1113,11 +1113,26 @@ component("base") {
# Needed for <atomic> if using newer C++ library than sysroot, except if
# building inside the cros_sdk environment - use host_toolchain as a
# more robust check for this.
@@ -28,7 +28,7 @@
if (use_allocator_shim) {
if (is_apple) {
sources += [ "allocator/early_zone_registration_apple.h" ]
-@@ -1134,7 +1149,7 @@ component("base") {
+@@ -1137,7 +1152,7 @@ component("base") {
# Allow more direct string conversions on platforms with native utf8
# strings
@@ -37,7 +37,7 @@
defines += [ "SYSTEM_NATIVE_UTF8" ]
}
-@@ -2143,6 +2158,22 @@ component("base") {
+@@ -2139,6 +2154,22 @@ component("base") {
]
}
@@ -60,7 +60,7 @@
# iOS
if (is_ios) {
sources += [
-@@ -2317,6 +2348,33 @@ component("base") {
+@@ -2313,6 +2344,33 @@ component("base") {
}
}
@@ -94,7 +94,7 @@
if (use_blink) {
sources += [
"files/file_path_watcher.cc",
-@@ -2723,7 +2781,7 @@ buildflag_header("protected_memory_buildflags") {
+@@ -2719,7 +2777,7 @@ buildflag_header("protected_memory_buildflags") {
header = "protected_memory_buildflags.h"
header_dir = "base/memory"
@@ -103,7 +103,7 @@
(is_win || is_linux || is_android || is_mac)
flags = [ "PROTECTED_MEMORY_ENABLED=$protected_memory_enabled" ]
-@@ -3229,7 +3287,7 @@ if (is_apple) {
+@@ -3225,7 +3283,7 @@ if (is_apple) {
}
}
@@ -112,8 +112,8 @@
# This test must compile with -fstack-protector-all
source_set("stack_canary_linux_unittests") {
testonly = true
-@@ -3922,7 +3980,7 @@ test("base_unittests") {
- ]
+@@ -3920,7 +3978,7 @@ test("base_unittests") {
+ configs += [ ":delayload_esent_dll" ]
}
- if (is_linux || is_chromeos) {
@@ -121,7 +121,7 @@
sources += [
"debug/proc_maps_linux_unittest.cc",
"files/scoped_file_linux_unittest.cc",
-@@ -3946,7 +4004,7 @@ test("base_unittests") {
+@@ -3944,7 +4002,7 @@ test("base_unittests") {
"posix/file_descriptor_shuffle_unittest.cc",
"posix/unix_domain_socket_unittest.cc",
]
@@ -130,7 +130,7 @@
sources += [
"profiler/stack_base_address_posix_unittest.cc",
"profiler/stack_copier_signal_unittest.cc",
-@@ -3957,7 +4015,7 @@ test("base_unittests") {
+@@ -3955,7 +4013,7 @@ test("base_unittests") {
# Allow more direct string conversions on platforms with native utf8
# strings
@@ -139,7 +139,7 @@
defines += [ "SYSTEM_NATIVE_UTF8" ]
}
-@@ -4144,7 +4202,7 @@ test("base_unittests") {
+@@ -4142,7 +4200,7 @@ test("base_unittests") {
deps += [ ":base_profiler_test_support_library" ]
}
diff --git a/www/ungoogled-chromium/files/patch-base_allocator_partition__alloc__features.cc b/www/ungoogled-chromium/files/patch-base_allocator_partition__alloc__features.cc
index a2b63d2d7ac8..cc30b75cb2b6 100644
--- a/www/ungoogled-chromium/files/patch-base_allocator_partition__alloc__features.cc
+++ b/www/ungoogled-chromium/files/patch-base_allocator_partition__alloc__features.cc
@@ -1,9 +1,9 @@
---- base/allocator/partition_alloc_features.cc.orig 2025-09-10 13:22:16 UTC
+--- base/allocator/partition_alloc_features.cc.orig 2025-10-21 16:57:35 UTC
+++ base/allocator/partition_alloc_features.cc
-@@ -154,7 +154,7 @@ BASE_FEATURE(kPartitionAllocEventuallyZeroFreedMemory,
+@@ -143,7 +143,7 @@ BASE_FEATURE(PartitionAllocEventuallyZeroFreedMemory,
+ // Evaluated and positive stability and peformance-wise on Linux-based systems,
// disabled elsewhere (for now). Does not apply to Windows.
- BASE_FEATURE(kPartitionAllocFewerMemoryRegions,
- "PartitionAllocFewerMemoryRegions",
+ BASE_FEATURE(PartitionAllocFewerMemoryRegions,
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
FEATURE_ENABLED_BY_DEFAULT);
diff --git a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__alloc.gni b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__alloc.gni
index 9a24ebd1bd8a..82c6a8b7a183 100644
--- a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__alloc.gni
+++ b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_partition__alloc.gni
@@ -1,4 +1,4 @@
---- base/allocator/partition_allocator/partition_alloc.gni.orig 2025-09-10 13:22:16 UTC
+--- base/allocator/partition_allocator/partition_alloc.gni.orig 2025-10-21 16:57:35 UTC
+++ base/allocator/partition_allocator/partition_alloc.gni
@@ -87,7 +87,7 @@ if (current_cpu == "x64" || current_cpu == "arm64" ||
# TODO(crbug.com/329199197): Clean this up when experiments are complete.
@@ -9,7 +9,7 @@
!is_hwasan && (is_linux || is_android)
declare_args() {
-@@ -490,7 +490,7 @@ assert(!use_asan_backup_ref_ptr || use_raw_ptr_hookabl
+@@ -479,7 +479,7 @@ assert(!use_asan_backup_ref_ptr || use_raw_ptr_hookabl
# dependencies that use partition_allocator are compiled in AOSP against a
# version of glibc that does not include pkeys syscall numbers.
is_pkeys_available =
diff --git a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__constants.h b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__constants.h
index eda7ff65f4e1..dcd35db39d55 100644
--- a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__constants.h
+++ b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__alloc__constants.h
@@ -1,6 +1,6 @@
---- base/allocator/partition_allocator/src/partition_alloc/partition_alloc_constants.h.orig 2025-09-10 13:22:16 UTC
+--- base/allocator/partition_allocator/src/partition_alloc/partition_alloc_constants.h.orig 2025-10-21 16:57:35 UTC
+++ base/allocator/partition_allocator/src/partition_alloc/partition_alloc_constants.h
-@@ -313,7 +313,7 @@ PA_DEFINE_OPERATORS_FOR_FLAGS(PoolHandleMask);
+@@ -315,7 +315,7 @@ PA_DEFINE_OPERATORS_FOR_FLAGS(PoolHandleMask);
// 8GB for each of the glued pools).
#if PA_BUILDFLAG(HAS_64_BIT_POINTERS)
#if PA_BUILDFLAG(IS_ANDROID) || PA_BUILDFLAG(IS_IOS) || \
@@ -9,7 +9,7 @@
constexpr size_t kPoolMaxSize = 8 * kGiB;
#else
constexpr size_t kPoolMaxSize = 16 * kGiB;
-@@ -397,7 +397,7 @@ PA_ALWAYS_INLINE constexpr size_t MaxDirectMapped() {
+@@ -399,7 +399,7 @@ PA_ALWAYS_INLINE constexpr size_t MaxDirectMapped() {
// TODO(casey.smalley@arm.com): under 64k pages we can end up in a situation
// where a normal slot span will be large enough to contain multiple items,
// but the address will go over the final partition page after being aligned.
diff --git a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__root.h b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__root.h
index de43b9688c5b..722e89464406 100644
--- a/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__root.h
+++ b/www/ungoogled-chromium/files/patch-base_allocator_partition__allocator_src_partition__alloc_partition__root.h
@@ -1,6 +1,6 @@
---- base/allocator/partition_allocator/src/partition_alloc/partition_root.h.orig 2025-09-10 13:22:16 UTC
+--- base/allocator/partition_allocator/src/partition_alloc/partition_root.h.orig 2025-10-21 16:57:35 UTC
+++ base/allocator/partition_allocator/src/partition_alloc/partition_root.h
-@@ -197,7 +197,7 @@ struct PartitionOptions {
+@@ -202,7 +202,7 @@ struct PartitionOptions {
// system to configure PartitionAlloc.
EnableToggle fewer_memory_regions =
#if PA_BUILDFLAG(IS_LINUX) || PA_BUILDFLAG(IS_ANDROID) || \
diff --git a/www/ungoogled-chromium/files/patch-base_debug_stack__trace.cc b/www/ungoogled-chromium/files/patch-base_debug_stack__trace.cc
index 812d727d75df..e38a491b3a88 100644
--- a/www/ungoogled-chromium/files/patch-base_debug_stack__trace.cc
+++ b/www/ungoogled-chromium/files/patch-base_debug_stack__trace.cc
@@ -1,6 +1,6 @@
---- base/debug/stack_trace.cc.orig 2025-04-15 08:30:07 UTC
+--- base/debug/stack_trace.cc.orig 2025-10-21 16:57:35 UTC
+++ base/debug/stack_trace.cc
-@@ -268,7 +268,7 @@ bool StackTrace::WillSymbolizeToStreamForTesting() {
+@@ -271,7 +271,7 @@ bool StackTrace::WillSymbolizeToStreamForTesting() {
// Symbols are not expected to be reliable when gn args specifies
// symbol_level=0.
return false;
@@ -9,7 +9,7 @@
// StackTrace::OutputToStream() is not implemented under uclibc, nor AIX.
// See https://crbug.com/706728
return false;
-@@ -321,7 +321,9 @@ void StackTrace::OutputToStreamWithPrefix(std::ostream
+@@ -324,7 +324,9 @@ void StackTrace::OutputToStreamWithPrefix(std::ostream
}
return;
}
@@ -19,7 +19,7 @@
}
std::string StackTrace::ToString() const {
-@@ -330,7 +332,7 @@ std::string StackTrace::ToString() const {
+@@ -333,7 +335,7 @@ std::string StackTrace::ToString() const {
std::string StackTrace::ToStringWithPrefix(cstring_view prefix_string) const {
std::stringstream stream;
@@ -28,7 +28,7 @@
OutputToStreamWithPrefix(&stream, prefix_string);
#endif
return stream.str();
-@@ -354,7 +356,7 @@ bool StackTrace::ShouldSuppressOutput() {
+@@ -357,7 +359,7 @@ bool StackTrace::ShouldSuppressOutput() {
}
std::ostream& operator<<(std::ostream& os, const StackTrace& s) {
diff --git a/www/ungoogled-chromium/files/patch-base_files_file__util__unittest.cc b/www/ungoogled-chromium/files/patch-base_files_file__util__unittest.cc
index bcc75bd80f87..89f86bf4b5dd 100644
--- a/www/ungoogled-chromium/files/patch-base_files_file__util__unittest.cc
+++ b/www/ungoogled-chromium/files/patch-base_files_file__util__unittest.cc
@@ -1,6 +1,6 @@
---- base/files/file_util_unittest.cc.orig 2025-09-10 13:22:16 UTC
+--- base/files/file_util_unittest.cc.orig 2025-10-21 16:57:35 UTC
+++ base/files/file_util_unittest.cc
-@@ -4101,7 +4101,7 @@ TEST_F(FileUtilTest, ReadFileToStringWithNamedPipe) {
+@@ -4123,7 +4123,7 @@ TEST_F(FileUtilTest, ReadFileToStringWithNamedPipe) {
}
#endif // BUILDFLAG(IS_WIN)
@@ -9,7 +9,7 @@
TEST_F(FileUtilTest, ReadFileToStringWithProcFileSystem) {
FilePath file_path("/proc/cpuinfo");
std::string data = "temp";
-@@ -4686,6 +4686,19 @@ TEST_F(FileUtilTest, CreateDirectoryOnlyCheckMissingSu
+@@ -4708,6 +4708,19 @@ TEST_F(FileUtilTest, CreateDirectoryOnlyCheckMissingSu
#endif // BUILDFLAG(IS_ANDROID)
@@ -29,7 +29,7 @@
#if BUILDFLAG(IS_WIN) && BUILDFLAG(GOOGLE_CHROME_BRANDING) && \
defined(ARCH_CPU_32_BITS)
// TODO(crbug.com/327582285): Re-enable these tests. They may be failing due to
-@@ -4852,7 +4865,7 @@ TEST(FileUtilMultiThreadedTest, MultiThreadedTempFiles
+@@ -4874,7 +4887,7 @@ TEST(FileUtilMultiThreadedTest, MultiThreadedTempFiles
NULL);
#else
size_t bytes_written =
diff --git a/www/ungoogled-chromium/files/patch-base_memory_discardable__memory.cc b/www/ungoogled-chromium/files/patch-base_memory_discardable__memory.cc
index ad99e3008eab..c55de3b40c86 100644
--- a/www/ungoogled-chromium/files/patch-base_memory_discardable__memory.cc
+++ b/www/ungoogled-chromium/files/patch-base_memory_discardable__memory.cc
@@ -1,15 +1,15 @@
---- base/memory/discardable_memory.cc.orig 2025-03-09 21:38:10 UTC
+--- base/memory/discardable_memory.cc.orig 2025-10-21 16:57:35 UTC
+++ base/memory/discardable_memory.cc
-@@ -26,7 +26,7 @@ BASE_FEATURE(kMadvFreeDiscardableMemory,
- base::FEATURE_DISABLED_BY_DEFAULT);
+@@ -24,7 +24,7 @@ namespace features {
+ BASE_FEATURE(MadvFreeDiscardableMemory, base::FEATURE_DISABLED_BY_DEFAULT);
#endif // BUILDFLAG(IS_POSIX)
-#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- BASE_FEATURE(kDiscardableMemoryBackingTrial,
- "DiscardableMemoryBackingTrial",
- base::FEATURE_DISABLED_BY_DEFAULT);
-@@ -44,7 +44,7 @@ BASE_FEATURE_ENUM_PARAM(DiscardableMemoryTrialGroup,
+ BASE_FEATURE(DiscardableMemoryBackingTrial, base::FEATURE_DISABLED_BY_DEFAULT);
+
+ BASE_FEATURE_ENUM_PARAM(DiscardableMemoryTrialGroup,
+@@ -40,7 +40,7 @@ BASE_FEATURE_ENUM_PARAM(DiscardableMemoryTrialGroup,
namespace {
@@ -18,7 +18,7 @@
DiscardableMemoryBacking GetBackingForFieldTrial() {
DiscardableMemoryTrialGroup trial_group =
-@@ -63,7 +63,7 @@ DiscardableMemoryBacking GetBackingForFieldTrial() {
+@@ -59,7 +59,7 @@ DiscardableMemoryBacking GetBackingForFieldTrial() {
} // namespace
@@ -27,7 +27,7 @@
// Probe capabilities of this device to determine whether we should participate
// in the discardable memory backing trial.
-@@ -95,7 +95,7 @@ DiscardableMemory::DiscardableMemory() = default;
+@@ -91,7 +91,7 @@ DiscardableMemory::DiscardableMemory() = default;
DiscardableMemory::~DiscardableMemory() = default;
DiscardableMemoryBacking GetDiscardableMemoryBacking() {
diff --git a/www/ungoogled-chromium/files/patch-base_memory_madv__free__discardable__memory__posix.cc b/www/ungoogled-chromium/files/patch-base_memory_madv__free__discardable__memory__posix.cc
index 040aa40a8ef7..1f4d4863a4e4 100644
--- a/www/ungoogled-chromium/files/patch-base_memory_madv__free__discardable__memory__posix.cc
+++ b/www/ungoogled-chromium/files/patch-base_memory_madv__free__discardable__memory__posix.cc
@@ -1,6 +1,6 @@
---- base/memory/madv_free_discardable_memory_posix.cc.orig 2025-09-10 13:22:16 UTC
+--- base/memory/madv_free_discardable_memory_posix.cc.orig 2025-10-21 16:57:35 UTC
+++ base/memory/madv_free_discardable_memory_posix.cc
-@@ -298,6 +298,10 @@ void MadvFreeDiscardableMemoryPosix::SetKeepMemoryForT
+@@ -297,6 +297,10 @@ void MadvFreeDiscardableMemoryPosix::SetKeepMemoryForT
bool MadvFreeDiscardableMemoryPosix::IsResident() const {
DFAKE_SCOPED_RECURSIVE_LOCK(thread_collision_warner_);
@@ -11,7 +11,7 @@
#if BUILDFLAG(IS_APPLE)
std::vector<char> vec(allocated_pages_);
#else
-@@ -314,6 +318,7 @@ bool MadvFreeDiscardableMemoryPosix::IsResident() cons
+@@ -313,6 +317,7 @@ bool MadvFreeDiscardableMemoryPosix::IsResident() cons
}
}
return true;
diff --git a/www/ungoogled-chromium/files/patch-base_memory_platform__shared__memory__region.h b/www/ungoogled-chromium/files/patch-base_memory_platform__shared__memory__region.h
index 21cf141c798f..6c92d7a5ae7c 100644
--- a/www/ungoogled-chromium/files/patch-base_memory_platform__shared__memory__region.h
+++ b/www/ungoogled-chromium/files/patch-base_memory_platform__shared__memory__region.h
@@ -1,24 +1,6 @@
---- base/memory/platform_shared_memory_region.h.orig 2025-09-10 13:22:16 UTC
+--- base/memory/platform_shared_memory_region.h.orig 2025-10-21 16:57:35 UTC
+++ base/memory/platform_shared_memory_region.h
-@@ -19,7 +19,7 @@
- #include "base/unguessable_token.h"
- #include "build/build_config.h"
-
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- namespace content {
- class SandboxIPCHandler;
- }
-@@ -86,7 +86,7 @@ class BASE_EXPORT PlatformSharedMemoryRegion {
- kMaxValue = GET_SHMEM_TEMP_DIR_FAILURE
- };
-
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- // Structure to limit access to executable region creation.
- struct ExecutableRegion {
- private:
-@@ -125,7 +125,7 @@ class BASE_EXPORT PlatformSharedMemoryRegion {
+@@ -99,7 +99,7 @@ class BASE_EXPORT PlatformSharedMemoryRegion {
#if BUILDFLAG(IS_FUCHSIA)
kNotVmo,
#endif
@@ -27,7 +9,7 @@
kFcntlFailed,
kReadOnlyFdNotReadOnly,
kUnexpectedReadOnlyFd,
-@@ -256,7 +256,7 @@ class BASE_EXPORT PlatformSharedMemoryRegion {
+@@ -230,7 +230,7 @@ class BASE_EXPORT PlatformSharedMemoryRegion {
CheckPlatformHandlePermissionsCorrespondToMode);
static PlatformSharedMemoryRegion Create(Mode mode,
size_t size
diff --git a/www/ungoogled-chromium/files/patch-base_memory_platform__shared__memory__region__posix.cc b/www/ungoogled-chromium/files/patch-base_memory_platform__shared__memory__region__posix.cc
index 79b98ea67e3d..cbe3ccbc12f5 100644
--- a/www/ungoogled-chromium/files/patch-base_memory_platform__shared__memory__region__posix.cc
+++ b/www/ungoogled-chromium/files/patch-base_memory_platform__shared__memory__region__posix.cc
@@ -1,15 +1,6 @@
---- base/memory/platform_shared_memory_region_posix.cc.orig 2025-09-10 13:22:16 UTC
+--- base/memory/platform_shared_memory_region_posix.cc.orig 2025-10-21 16:57:35 UTC
+++ base/memory/platform_shared_memory_region_posix.cc
-@@ -59,7 +59,7 @@ std::optional<FDAccessModeError> CheckFDAccessMode(int
-
- } // namespace
-
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- // static
- ScopedFD PlatformSharedMemoryRegion::ExecutableRegion::CreateFD(size_t size) {
- PlatformSharedMemoryRegion region =
-@@ -184,7 +184,7 @@ bool PlatformSharedMemoryRegion::ConvertToUnsafe() {
+@@ -172,7 +172,7 @@ bool PlatformSharedMemoryRegion::ConvertToUnsafe() {
// static
PlatformSharedMemoryRegion PlatformSharedMemoryRegion::Create(Mode mode,
size_t size
@@ -18,7 +9,7 @@
,
bool executable
#endif
-@@ -209,7 +209,7 @@ PlatformSharedMemoryRegion PlatformSharedMemoryRegion:
+@@ -197,7 +197,7 @@ PlatformSharedMemoryRegion PlatformSharedMemoryRegion:
// flag.
FilePath directory;
if (!GetShmemTempDir(
diff --git a/www/ungoogled-chromium/files/patch-base_message__loop_message__pump__epoll.cc b/www/ungoogled-chromium/files/patch-base_message__loop_message__pump__epoll.cc
index 0946ed2a0e47..cc3a86a0f71c 100644
--- a/www/ungoogled-chromium/files/patch-base_message__loop_message__pump__epoll.cc
+++ b/www/ungoogled-chromium/files/patch-base_message__loop_message__pump__epoll.cc
@@ -1,6 +1,6 @@
---- base/message_loop/message_pump_epoll.cc.orig 2025-09-10 13:22:16 UTC
+--- base/message_loop/message_pump_epoll.cc.orig 2025-10-21 16:57:35 UTC
+++ base/message_loop/message_pump_epoll.cc
-@@ -49,7 +49,7 @@ std::atomic_bool g_use_batched_version = false;
+@@ -44,7 +44,7 @@ std::atomic_bool g_use_batched_version = false;
std::atomic_bool g_use_poll = false;
constexpr std::pair<uint32_t, short int> kEpollToPollEvents[] = {
diff --git a/www/ungoogled-chromium/files/patch-base_native__library__posix.cc b/www/ungoogled-chromium/files/patch-base_native__library__posix.cc
deleted file mode 100644
index 52699dcd0b3b..000000000000
--- a/www/ungoogled-chromium/files/patch-base_native__library__posix.cc
+++ /dev/null
@@ -1,11 +0,0 @@
---- base/native_library_posix.cc.orig 2024-08-26 14:40:28 UTC
-+++ base/native_library_posix.cc
-@@ -34,7 +34,7 @@ NativeLibrary LoadNativeLibraryWithOptions(const FileP
- // http://crbug.com/17943, http://crbug.com/17557, http://crbug.com/36892,
- // and http://crbug.com/40794.
- int flags = RTLD_LAZY;
--#if BUILDFLAG(IS_ANDROID) || !defined(RTLD_DEEPBIND)
-+#if BUILDFLAG(IS_ANDROID) || !defined(RTLD_DEEPBIND) || BUILDFLAG(IS_BSD)
- // Certain platforms don't define RTLD_DEEPBIND. Android dlopen() requires
- // further investigation, as it might vary across versions. Crash here to
- // warn developers that they're trying to rely on uncertain behavior.
diff --git a/www/ungoogled-chromium/files/patch-base_native__library__unittest.cc b/www/ungoogled-chromium/files/patch-base_native__library__unittest.cc
deleted file mode 100644
index e0e5fc7a0054..000000000000
--- a/www/ungoogled-chromium/files/patch-base_native__library__unittest.cc
+++ /dev/null
@@ -1,11 +0,0 @@
---- base/native_library_unittest.cc.orig 2024-10-27 06:40:35 UTC
-+++ base/native_library_unittest.cc
-@@ -135,7 +135,7 @@ TEST(NativeLibraryTest, LoadLibrary) {
- // versions with respect to symbol resolution scope.
- // TSan and MSan error out on RTLD_DEEPBIND, https://crbug.com/705255
- #if !BUILDFLAG(IS_ANDROID) && !defined(THREAD_SANITIZER) && \
-- !defined(MEMORY_SANITIZER)
-+ !defined(MEMORY_SANITIZER) && !BUILDFLAG(IS_BSD)
-
- // Verifies that the |prefer_own_symbols| option satisfies its guarantee that
- // a loaded library will always prefer local symbol resolution before
diff --git a/www/ungoogled-chromium/files/patch-base_process_process__metrics.h b/www/ungoogled-chromium/files/patch-base_process_process__metrics.h
index 9a963d2579d6..edb18110d4c5 100644
--- a/www/ungoogled-chromium/files/patch-base_process_process__metrics.h
+++ b/www/ungoogled-chromium/files/patch-base_process_process__metrics.h
@@ -1,6 +1,6 @@
---- base/process/process_metrics.h.orig 2025-09-10 13:22:16 UTC
+--- base/process/process_metrics.h.orig 2025-10-21 16:57:35 UTC
+++ base/process/process_metrics.h
-@@ -39,7 +39,7 @@
+@@ -40,7 +40,7 @@
#endif
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || \
@@ -9,7 +9,7 @@
#include <string>
#include <utility>
#include <vector>
-@@ -49,7 +49,7 @@
+@@ -50,7 +50,7 @@
namespace base {
@@ -18,7 +18,16 @@
// Minor and major page fault counts since the process creation.
// Both counts are process-wide, and exclude child processes.
//
-@@ -179,7 +179,7 @@ class BASE_EXPORT ProcessMetrics {
+@@ -88,7 +88,7 @@ struct ProcessMemoryInfo {
+ #endif // BUILDFLAG(IS_APPLE)
+
+ #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || \
+- BUILDFLAG(IS_FUCHSIA)
++ BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD)
+ uint64_t rss_anon_bytes = 0;
+ uint64_t vm_swap_bytes = 0;
+ #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) ||
+@@ -180,7 +180,7 @@ class BASE_EXPORT ProcessMetrics {
base::expected<TimeDelta, ProcessCPUUsageError> GetCumulativeCPUUsage();
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || \
@@ -27,7 +36,7 @@
// Emits the cumulative CPU usage for all currently active threads since they
// were started into the output parameter (replacing its current contents).
// Threads that have already terminated will not be reported. Thus, the sum of
-@@ -224,7 +224,7 @@ class BASE_EXPORT ProcessMetrics {
+@@ -225,7 +225,7 @@ class BASE_EXPORT ProcessMetrics {
int GetOpenFdSoftLimit() const;
#endif // BUILDFLAG(IS_POSIX)
@@ -36,7 +45,7 @@
// Minor and major page fault count as reported by /proc/[pid]/stat.
// Returns true for success.
bool GetPageFaultCounts(PageFaultCounts* counts) const;
-@@ -242,7 +242,7 @@ class BASE_EXPORT ProcessMetrics {
+@@ -243,7 +243,7 @@ class BASE_EXPORT ProcessMetrics {
#endif // !BUILDFLAG(IS_MAC)
#if BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \
@@ -45,13 +54,14 @@
int CalculateIdleWakeupsPerSecond(uint64_t absolute_idle_wakeups);
#endif
#if BUILDFLAG(IS_APPLE)
-@@ -264,12 +264,10 @@ class BASE_EXPORT ProcessMetrics {
+@@ -265,12 +265,12 @@ class BASE_EXPORT ProcessMetrics {
// Used to store the previous times and CPU usage counts so we can
// compute the CPU usage between calls.
TimeTicks last_cpu_time_;
-#if !BUILDFLAG(IS_FREEBSD) || !BUILDFLAG(IS_POSIX)
++#if BUILDFLAG(IS_POSIX)
TimeDelta last_cumulative_cpu_;
--#endif
+ #endif
#if BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \
- BUILDFLAG(IS_AIX)
@@ -59,16 +69,16 @@
// Same thing for idle wakeups.
TimeTicks last_idle_wakeups_time_;
uint64_t last_absolute_idle_wakeups_;
-@@ -310,7 +308,7 @@ BASE_EXPORT void IncreaseFdLimitTo(unsigned int max_de
+@@ -311,7 +311,7 @@ BASE_EXPORT void IncreaseFdLimitTo(unsigned int max_de
*** 11670 LINES SKIPPED ***
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?>
