FreeBSD Bugzilla – Attachment 223940 Details for
Bug 254907
devel/electron11: backport missing patch from www/chromium
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
v0
electron11.patch (text/plain), 2.20 KB, created by
Mikael Urankar
on 2021-04-09 06:57:47 UTC
(
hide
)
Description:
v0
Filename:
MIME Type:
Creator:
Mikael Urankar
Created:
2021-04-09 06:57:47 UTC
Size:
2.20 KB
patch
obsolete
>Index: devel/electron11/files/patch-gpu_ipc_service_gpu__watchdog__thread__v2.cc >=================================================================== >--- devel/electron11/files/patch-gpu_ipc_service_gpu__watchdog__thread__v2.cc (nonexistent) >+++ devel/electron11/files/patch-gpu_ipc_service_gpu__watchdog__thread__v2.cc (working copy) >@@ -0,0 +1,47 @@ >+--- gpu/ipc/service/gpu_watchdog_thread_v2.cc.orig 2021-03-20 14:36:05 UTC >++++ gpu/ipc/service/gpu_watchdog_thread_v2.cc >+@@ -77,7 +77,7 @@ GpuWatchdogThreadImplV2::GpuWatchdogThreadImplV2( >+ } >+ #endif >+ >+-#if defined(USE_X11) >++#if defined(USE_X11) && !defined(OS_BSD) >+ tty_file_ = base::OpenFile( >+ base::FilePath(FILE_PATH_LITERAL("/sys/class/tty/tty0/active")), "r"); >+ UpdateActiveTTY(); >+@@ -105,7 +105,7 @@ GpuWatchdogThreadImplV2::~GpuWatchdogThreadImplV2() { >+ CloseHandle(watched_thread_handle_); >+ #endif >+ >+-#if defined(USE_X11) >++#if defined(USE_X11) && !defined(OS_BSD) >+ if (tty_file_) >+ fclose(tty_file_); >+ #endif >+@@ -481,7 +481,7 @@ void GpuWatchdogThreadImplV2::OnWatchdogTimeout() { >+ if (foregrounded_event_) >+ num_of_timeout_after_foregrounded_++; >+ >+-#if defined(USE_X11) >++#if defined(USE_X11) && !defined(OS_BSD) >+ UpdateActiveTTY(); >+ #endif >+ >+@@ -874,7 +874,7 @@ bool GpuWatchdogThreadImplV2::WithinOneMinFromForegrou >+ return foregrounded_event_ && num_of_timeout_after_foregrounded_ <= count; >+ } >+ >+-#if defined(USE_X11) >++#if defined(USE_X11) && !defined(OS_BSD) >+ void GpuWatchdogThreadImplV2::UpdateActiveTTY() { >+ last_active_tty_ = active_tty_; >+ >+@@ -891,7 +891,7 @@ void GpuWatchdogThreadImplV2::UpdateActiveTTY() { >+ #endif >+ >+ bool GpuWatchdogThreadImplV2::ContinueOnNonHostX11ServerTty() { >+-#if defined(USE_X11) >++#if defined(USE_X11) && !defined(OS_BSD) >+ if (host_tty_ == -1 || active_tty_ == -1) >+ return false; >+ > >Property changes on: devel/electron11/files/patch-gpu_ipc_service_gpu__watchdog__thread__v2.cc >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 254907
: 223940