summaryrefslogtreecommitdiff
path: root/devel/electron13/files/patch-gpu_config_gpu__test__config.cc
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron13/files/patch-gpu_config_gpu__test__config.cc')
-rw-r--r--devel/electron13/files/patch-gpu_config_gpu__test__config.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/electron13/files/patch-gpu_config_gpu__test__config.cc b/devel/electron13/files/patch-gpu_config_gpu__test__config.cc
new file mode 100644
index 000000000000..c3106d2167c2
--- /dev/null
+++ b/devel/electron13/files/patch-gpu_config_gpu__test__config.cc
@@ -0,0 +1,11 @@
+--- gpu/config/gpu_test_config.cc.orig 2021-07-15 19:13:40 UTC
++++ gpu/config/gpu_test_config.cc
+@@ -28,7 +28,7 @@ namespace {
+ GPUTestConfig::OS GetCurrentOS() {
+ #if BUILDFLAG(IS_CHROMEOS_ASH)
+ return GPUTestConfig::kOsChromeOS;
+-#elif (defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)) || \
++#elif (defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)) || defined(OS_BSD) || \
+ defined(OS_OPENBSD)
+ return GPUTestConfig::kOsLinux;
+ #elif defined(OS_WIN)