diff options
Diffstat (limited to 'devel/electron35/files/patch-content_common_user__agent.cc')
| -rw-r--r-- | devel/electron35/files/patch-content_common_user__agent.cc | 37 | 
1 files changed, 0 insertions, 37 deletions
diff --git a/devel/electron35/files/patch-content_common_user__agent.cc b/devel/electron35/files/patch-content_common_user__agent.cc deleted file mode 100644 index 3b59cc43bac7..000000000000 --- a/devel/electron35/files/patch-content_common_user__agent.cc +++ /dev/null @@ -1,37 +0,0 @@ ---- content/common/user_agent.cc.orig	2025-03-24 20:50:14 UTC -+++ content/common/user_agent.cc -@@ -50,7 +50,7 @@ std::string GetUserAgentPlatform() { -   return ""; - #elif BUILDFLAG(IS_MAC) -   return "Macintosh; "; --#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) -+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) -   return "X11; ";  // strange, but that's what Firefox uses - #elif BUILDFLAG(IS_ANDROID) -   return "Linux; "; -@@ -76,7 +76,7 @@ std::string GetUnifiedPlatform() { -   return "Windows NT 10.0; Win64; x64"; - #elif BUILDFLAG(IS_FUCHSIA) -   return "Fuchsia"; --#elif BUILDFLAG(IS_LINUX) -+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) -   return "X11; Linux x86_64"; - #elif BUILDFLAG(IS_IOS) -   if (ui::GetDeviceFormFactor() == ui::DEVICE_FORM_FACTOR_TABLET) { -@@ -301,6 +301,16 @@ std::string BuildOSCpuInfoFromOSVersionAndCpuType(cons -                       "Android %s", os_version.c_str() - #elif BUILDFLAG(IS_FUCHSIA) -                       "Fuchsia" -+#elif BUILDFLAG(IS_BSD) -+#if defined(__x86_64__) -+                      "Linux x86_64; %s %s", -+#elif defined(__aarch64__) -+                      "Linux aarch64; %s %s", -+#else -+                      "Linux i686; %s %s", -+#endif -+                      unixinfo.sysname,  // e.g. Linux -+                      cpu_type.c_str()   // e.g. i686 - #elif BUILDFLAG(IS_IOS) -                       "CPU %s OS %s like Mac OS X", cpu_type.c_str(), -                       os_version.c_str()  | 
