SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
12
www/iridium/patches/patch-device_gamepad_gamepad_provider_cc
Normal file
12
www/iridium/patches/patch-device_gamepad_gamepad_provider_cc
Normal file
|
@ -0,0 +1,12 @@
|
|||
Index: device/gamepad/gamepad_provider.cc
|
||||
--- device/gamepad/gamepad_provider.cc.orig
|
||||
+++ device/gamepad/gamepad_provider.cc
|
||||
@@ -219,7 +219,7 @@ void GamepadProvider::Initialize(std::unique_ptr<Gamep
|
||||
|
||||
if (!polling_thread_)
|
||||
polling_thread_ = std::make_unique<base::Thread>("Gamepad polling thread");
|
||||
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
|
||||
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
|
||||
// On Linux, the data fetcher needs to watch file descriptors, so the message
|
||||
// loop needs to be a libevent loop.
|
||||
const base::MessagePumpType kMessageLoopType = base::MessagePumpType::IO;
|
Loading…
Add table
Add a link
Reference in a new issue