Index: Makefile =================================================================== RCS file: /mnt/ext/cvs/ports/www/chromium/Makefile,v diff -u -p -r1.917 Makefile --- Makefile 10 Jul 2026 07:47:01 -0000 1.917 +++ Makefile 12 Jul 2026 16:41:29 -0000 @@ -13,6 +13,7 @@ DPB_PROPERTIES+= lonesome COMMENT= Chromium browser V= 150.0.7871.114 +REVISION= 0 DISTNAME= chromium-${V} Index: patches/patch-services_device_BUILD_gn =================================================================== RCS file: /mnt/ext/cvs/ports/www/chromium/patches/patch-services_device_BUILD_gn,v diff -u -p -r1.7 patch-services_device_BUILD_gn --- patches/patch-services_device_BUILD_gn 31 May 2025 05:14:03 -0000 1.7 +++ patches/patch-services_device_BUILD_gn 12 Jul 2026 16:36:22 -0000 @@ -6,7 +6,7 @@ Index: services/device/BUILD.gn is_serial_enabled_platform = - is_win || ((is_linux || is_chromeos) && use_udev) || is_mac || is_android -+ is_win || ((!is_bsd && is_linux || is_chromeos) && use_udev) || is_mac || is_android ++ is_win || ((!is_bsd && is_linux || is_chromeos) && use_udev) || is_mac || is_android || is_openbsd source_set("lib") { # This should be visible only to embedders of the Device Service, and the Index: patches/patch-services_device_serial_BUILD_gn =================================================================== RCS file: /mnt/ext/cvs/ports/www/chromium/patches/patch-services_device_serial_BUILD_gn,v diff -u -p -r1.12 patch-services_device_serial_BUILD_gn --- patches/patch-services_device_serial_BUILD_gn 13 Mar 2026 12:50:17 -0000 1.12 +++ patches/patch-services_device_serial_BUILD_gn 12 Jul 2026 16:36:22 -0000 @@ -6,7 +6,7 @@ Index: services/device/serial/BUILD.gn } -if (is_win || ((is_linux || is_chromeos) && use_udev) || is_mac || is_android) { -+if (is_win || ((!is_bsd && is_linux || is_chromeos) && use_udev) || is_mac || is_android) { ++if (is_win || ((!is_bsd && is_linux || is_chromeos) && use_udev) || is_mac || is_android || is_openbsd) { config("platform_support") { visibility = [ ":serial" ] if (is_win) { Index: patches/patch-services_device_serial_serial_device_enumerator_cc =================================================================== RCS file: /mnt/ext/cvs/ports/www/chromium/patches/patch-services_device_serial_serial_device_enumerator_cc,v diff -u -p -r1.11 patch-services_device_serial_serial_device_enumerator_cc --- patches/patch-services_device_serial_serial_device_enumerator_cc 2 Jul 2025 12:47:40 -0000 1.11 +++ patches/patch-services_device_serial_serial_device_enumerator_cc 12 Jul 2026 16:39:22 -0000 @@ -1,21 +1,27 @@ +un-break build, NOTREACHED() + Index: services/device/serial/serial_device_enumerator.cc --- services/device/serial/serial_device_enumerator.cc.orig +++ services/device/serial/serial_device_enumerator.cc -@@ -12,7 +12,7 @@ +@@ -12,7 +12,9 @@ #include "build/build_config.h" #include "components/device_event_log/device_event_log.h" -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) ++#if BUILDFLAG(IS_OPENBSD) ++// none ++#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) #include "services/device/serial/serial_device_enumerator_linux.h" #elif BUILDFLAG(IS_MAC) #include "services/device/serial/serial_device_enumerator_mac.h" -@@ -27,7 +27,7 @@ namespace device { +@@ -27,7 +29,9 @@ namespace device { // static std::unique_ptr SerialDeviceEnumerator::Create( scoped_refptr ui_task_runner) { -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) ++#if BUILDFLAG(IS_OPENBSD) ++ NOTREACHED() << "SerialDeviceEnumerator not supported on this platform."; ++#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) return SerialDeviceEnumeratorLinux::Create(); #elif BUILDFLAG(IS_MAC) return std::make_unique(); Index: patches/patch-services_device_serial_serial_port_manager_impl_cc =================================================================== RCS file: patches/patch-services_device_serial_serial_port_manager_impl_cc diff -N patches/patch-services_device_serial_serial_port_manager_impl_cc --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ patches/patch-services_device_serial_serial_port_manager_impl_cc 12 Jul 2026 16:40:20 -0000 @@ -0,0 +1,39 @@ +Return empty devices list and fallback on mojo::NullRemote(). + +Index: services/device/serial/serial_port_manager_impl.cc +--- services/device/serial/serial_port_manager_impl.cc.orig ++++ services/device/serial/serial_port_manager_impl.cc +@@ -85,6 +85,9 @@ void SerialPortManagerImpl::SetClient( + void SerialPortManagerImpl::GetDevices(bool allow_bluetooth_system_prompt, + GetDevicesCallback callback) { + DCHECK_CALLED_ON_VALID_SEQUENCE(sequence_checker_); ++#if BUILDFLAG(IS_OPENBSD) ++ std::move(callback).Run({}); ++#else + if (!enumerator_) { + enumerator_ = SerialDeviceEnumerator::Create(ui_task_runner_); + observed_enumerator_.AddObservation(enumerator_.get()); +@@ -107,6 +110,7 @@ void SerialPortManagerImpl::GetDevices(bool allow_blue + } + bluetooth_enumerator_->GetDevicesAfterInitialEnumeration(base::BindOnce( + &FinishGetDevices, std::move(callback), std::move(devices))); ++#endif + } + + void SerialPortManagerImpl::OpenPort( +@@ -117,6 +121,7 @@ void SerialPortManagerImpl::OpenPort( + mojo::PendingRemote watcher, + OpenPortCallback callback) { + DCHECK_CALLED_ON_VALID_SEQUENCE(sequence_checker_); ++#if !BUILDFLAG(IS_OPENBSD) + if (!enumerator_) { + enumerator_ = SerialDeviceEnumerator::Create(ui_task_runner_); + observed_enumerator_.AddObservation(enumerator_.get()); +@@ -156,6 +161,7 @@ void SerialPortManagerImpl::OpenPort( + base::SequencedTaskRunner::GetCurrentDefault()))); + return; + } ++#endif + + std::move(callback).Run(mojo::NullRemote()); + } Index: patches/patch-third_party_blink_renderer_platform_runtime_enabled_features_override_json5 =================================================================== RCS file: patches/patch-third_party_blink_renderer_platform_runtime_enabled_features_override_json5 diff -N patches/patch-third_party_blink_renderer_platform_runtime_enabled_features_override_json5 --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ patches/patch-third_party_blink_renderer_platform_runtime_enabled_features_override_json5 12 Jul 2026 17:07:26 -0000 @@ -0,0 +1,20 @@ +Change Serial feature status from stable to test. +Serial will only be available with --run-web-tests, --enable-blink-test-features. + +Index: third_party/blink/renderer/platform/runtime_enabled_features.override.json5 +--- third_party/blink/renderer/platform/runtime_enabled_features.override.json5.orig ++++ third_party/blink/renderer/platform/runtime_enabled_features.override.json5 +@@ -45,6 +45,10 @@ + // ] + + data: [ +- // Entries go here. ++ { ++ name: "Serial", ++ status: "test", ++ base_feature: "WebSerialAPI", ++ }, + ] +-} +\ No newline at end of file ++}