mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 09:36:41 -04:00
www/chromium: unbreak by adding a patch missed from the previous commit
PR: 285199
This commit is contained in:
parent
84d19e6a36
commit
c0821946bf
1 changed files with 18 additions and 0 deletions
|
@ -0,0 +1,18 @@
|
|||
--- ui/ozone/platform/wayland/common/wayland_util.cc.orig 2025-03-05 16:13:26 UTC
|
||||
+++ ui/ozone/platform/wayland/common/wayland_util.cc
|
||||
@@ -420,6 +420,7 @@ void RecordConnectionMetrics(wl_display* display) {
|
||||
{"weston", WaylandCompositor::kWeston},
|
||||
};
|
||||
|
||||
+#if !BUILDFLAG(IS_BSD)
|
||||
const int fd = wl_display_get_fd(display);
|
||||
if (fd == -1) {
|
||||
return WaylandCompositor::kUnknown;
|
||||
@@ -445,6 +446,7 @@ void RecordConnectionMetrics(wl_display* display) {
|
||||
return compositor;
|
||||
}
|
||||
}
|
||||
+#endif
|
||||
|
||||
return WaylandCompositor::kOther;
|
||||
};
|
Loading…
Add table
Reference in a new issue