pkgsrc-wip/chromium/patches/patch-gpu_ipc_service_gpu__...

23 lines
606 B
C

$NetBSD$
--- gpu/ipc/service/gpu_watchdog_thread.h.orig 2020-07-08 21:40:44.000000000 +0000
+++ gpu/ipc/service/gpu_watchdog_thread.h
@@ -213,7 +213,7 @@ class GPU_IPC_SERVICE_EXPORT GpuWatchdog
base::ThreadTicks GetWatchedThreadTime();
#endif
-#if defined(USE_X11)
+#if defined(USE_X11) && !defined(OS_BSD)
void UpdateActiveTTY();
#endif
@@ -261,7 +261,7 @@ class GPU_IPC_SERVICE_EXPORT GpuWatchdog
base::Time check_time_;
base::TimeTicks check_timeticks_;
-#if defined(USE_X11)
+#if defined(USE_X11) && !defined(OS_BSD)
FILE* tty_file_;
int host_tty_;
int active_tty_ = -1;