git: 1c845270109e - main - www/chromium: unbreak fido support by making non-blocking optional
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 02 Jul 2026 07:33:51 UTC
The branch main has been updated by rnagy:
URL: https://cgit.FreeBSD.org/ports/commit/?id=1c845270109e387cdb7538f8447449feaa32eb0c
commit 1c845270109e387cdb7538f8447449feaa32eb0c
Author: Robert Nagy <rnagy@FreeBSD.org>
AuthorDate: 2026-07-02 07:33:00 +0000
Commit: Robert Nagy <rnagy@FreeBSD.org>
CommitDate: 2026-07-02 07:33:00 +0000
www/chromium: unbreak fido support by making non-blocking optional
PR: 296119
---
www/chromium/Makefile | 1 +
.../files/patch-services_device_hid_hid__service__freebsd.cc | 5 ++---
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/www/chromium/Makefile b/www/chromium/Makefile
index 8a661c4204c9..9a83892f3789 100644
--- a/www/chromium/Makefile
+++ b/www/chromium/Makefile
@@ -1,5 +1,6 @@
PORTNAME= chromium
PORTVERSION= 150.0.7871.46
+PORTREVISION= 1
PULSEMV= 16
PULSEV= ${PULSEMV}.1
CATEGORIES= www wayland
diff --git a/www/chromium/files/patch-services_device_hid_hid__service__freebsd.cc b/www/chromium/files/patch-services_device_hid_hid__service__freebsd.cc
index 59661d7c81ea..6f1a95311fa9 100644
--- a/www/chromium/files/patch-services_device_hid_hid__service__freebsd.cc
+++ b/www/chromium/files/patch-services_device_hid_hid__service__freebsd.cc
@@ -1,6 +1,6 @@
---- services/device/hid/hid_service_freebsd.cc.orig 2025-01-19 19:00:05 UTC
+--- services/device/hid/hid_service_freebsd.cc.orig 2026-07-02 07:32:08 UTC
+++ services/device/hid/hid_service_freebsd.cc
-@@ -0,0 +1,395 @@
+@@ -0,0 +1,394 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
@@ -383,7 +383,6 @@
+
+ if (!base::SetNonBlocking(params->fd.get())) {
+ HID_PLOG(ERROR) << "Failed to set the non-blocking flag on the device fd";
-+ std::move(params->callback).Run(nullptr);
+ }
+
+ std::move(params->callback).Run(base::MakeRefCounted<HidConnectionFreeBSD>(