aboutsummaryrefslogtreecommitdiff
path: root/devel/electron13/files/patch-components_gcm__driver_gcm__client__impl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron13/files/patch-components_gcm__driver_gcm__client__impl.cc')
-rw-r--r--devel/electron13/files/patch-components_gcm__driver_gcm__client__impl.cc12
1 files changed, 12 insertions, 0 deletions
diff --git a/devel/electron13/files/patch-components_gcm__driver_gcm__client__impl.cc b/devel/electron13/files/patch-components_gcm__driver_gcm__client__impl.cc
new file mode 100644
index 000000000000..493fdc158595
--- /dev/null
+++ b/devel/electron13/files/patch-components_gcm__driver_gcm__client__impl.cc
@@ -0,0 +1,12 @@
+--- components/gcm_driver/gcm_client_impl.cc.orig 2021-01-07 00:36:30 UTC
++++ components/gcm_driver/gcm_client_impl.cc
+@@ -135,6 +135,9 @@ void ToCheckinProtoVersion(
+ case GCMClient::PLATFORM_CROS:
+ platform = checkin_proto::ChromeBuildProto_Platform_PLATFORM_CROS;
+ break;
++ case GCMClient::PLATFORM_BSD:
++ platform = checkin_proto::ChromeBuildProto_Platform_PLATFORM_LINUX;
++ break;
+ case GCMClient::PLATFORM_UNSPECIFIED:
+ // For unknown platform, return as LINUX.
+ platform = checkin_proto::ChromeBuildProto_Platform_PLATFORM_LINUX;