Files
ports/www/chromium/files/patch-content_common_user__agent.cc
T
Rene Ladan a04e75e95a www/chromium: update to 88.0.4324.96
Submitted by:	Matthias Wolf (via github)
MFH:		2021Q1
Security:	https://www.vuxml.org/freebsd/4ed0e43c-5cef-11eb-bafd-3065ec8fd3ec.html
2021-01-27 21:01:06 +00:00

18 lines
381 B
C++

--- content/common/user_agent.cc.orig 2021-01-18 21:28:57 UTC
+++ content/common/user_agent.cc
@@ -213,6 +213,14 @@ std::string BuildOSCpuInfoFromOSVersionAndCpuType(cons
);
#endif
+#if defined(OS_BSD)
+#if defined(__x86_64__)
+ base::StringAppendF(&os_cpu, "; Linux x86_64");
+#else
+ base::StringAppendF(&os_cpu, "; Linux i686");
+#endif
+#endif
+
return os_cpu;
}