aboutsummaryrefslogtreecommitdiff
path: root/devel/electron37/files/patch-services_device_public_cpp_device__features.h
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron37/files/patch-services_device_public_cpp_device__features.h')
-rw-r--r--devel/electron37/files/patch-services_device_public_cpp_device__features.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/electron37/files/patch-services_device_public_cpp_device__features.h b/devel/electron37/files/patch-services_device_public_cpp_device__features.h
new file mode 100644
index 000000000000..e2e71f23799b
--- /dev/null
+++ b/devel/electron37/files/patch-services_device_public_cpp_device__features.h
@@ -0,0 +1,11 @@
+--- services/device/public/cpp/device_features.h.orig 2025-04-22 20:15:27 UTC
++++ services/device/public/cpp/device_features.h
+@@ -53,7 +53,7 @@ DEVICE_FEATURES_EXPORT bool IsOsLevelGeolocationPermis
+
+ DEVICE_FEATURES_EXPORT bool IsOsLevelGeolocationPermissionSupportEnabled();
+
+-#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ DEVICE_FEATURES_EXPORT BASE_DECLARE_FEATURE(kAutomaticUsbDetach);
+ #endif // BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX)
+