diff options
Diffstat (limited to 'devel/electron13/files/patch-services_device_hid_hid__service.cc')
-rw-r--r-- | devel/electron13/files/patch-services_device_hid_hid__service.cc | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/devel/electron13/files/patch-services_device_hid_hid__service.cc b/devel/electron13/files/patch-services_device_hid_hid__service.cc new file mode 100644 index 000000000000..704b03a123c0 --- /dev/null +++ b/devel/electron13/files/patch-services_device_hid_hid__service.cc @@ -0,0 +1,20 @@ +--- services/device/hid/hid_service.cc.orig 2021-07-15 19:13:43 UTC ++++ services/device/hid/hid_service.cc +@@ -18,6 +18,8 @@ + + #if (defined(OS_LINUX) || defined(OS_CHROMEOS)) && defined(USE_UDEV) + #include "services/device/hid/hid_service_linux.h" ++#elif defined(OS_FREEBSD) ++#include "services/device/hid/hid_service_freebsd.h" + #elif defined(OS_MAC) + #include "services/device/hid/hid_service_mac.h" + #elif defined(OS_WIN) +@@ -61,6 +63,8 @@ constexpr base::TaskTraits HidService::kBlockingTaskTr + std::unique_ptr<HidService> HidService::Create() { + #if (defined(OS_LINUX) || defined(OS_CHROMEOS)) && defined(USE_UDEV) + return base::WrapUnique(new HidServiceLinux()); ++#elif defined(OS_FREEBSD) ++ return base::WrapUnique(new HidServiceFreeBSD()); + #elif defined(OS_MAC) + return base::WrapUnique(new HidServiceMac()); + #elif defined(OS_WIN) |