diff options
Diffstat (limited to 'devel/electron13/files/patch-components_metrics_metrics__log.cc')
-rw-r--r-- | devel/electron13/files/patch-components_metrics_metrics__log.cc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/electron13/files/patch-components_metrics_metrics__log.cc b/devel/electron13/files/patch-components_metrics_metrics__log.cc new file mode 100644 index 000000000000..0c7cbdc7f018 --- /dev/null +++ b/devel/electron13/files/patch-components_metrics_metrics__log.cc @@ -0,0 +1,11 @@ +--- components/metrics/metrics_log.cc.orig 2021-07-15 19:13:37 UTC ++++ components/metrics/metrics_log.cc +@@ -240,7 +240,7 @@ void MetricsLog::RecordCoreSystemProfile( + // OperatingSystemVersion refers to the ChromeOS release version. + #if BUILDFLAG(IS_CHROMEOS_ASH) + os->set_kernel_version(base::SysInfo::KernelVersion()); +-#elif defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) ++#elif defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || defined(OS_BSD) + // Linux operating system version is copied over into kernel version to be + // consistent. + os->set_kernel_version(base::SysInfo::OperatingSystemVersion()); |