Projects
Eulaceura:Mainline
chromium
_service:obs_scm:chromium-libusb_interrupt_even...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:chromium-libusb_interrupt_event_handler.patch of Package chromium
diff -up chromium-48.0.2564.116/services/device/usb/usb_context.cc.modern-libusbx chromium-48.0.2564.116/device/usb/usb_context.cc --- chromium-48.0.2564.116/services/device/usb/usb_context.cc.modern-libusbx 2016-02-24 10:21:10.534996028 -0500 +++ chromium-48.0.2564.116/services/device/usb/usb_context.cc 2016-02-24 10:22:28.270499864 -0500 @@ -57,7 +57,11 @@ void UsbContext::UsbEventHandler::Run() void UsbContext::UsbEventHandler::Stop() { base::subtle::Release_Store(&running_, 0); +#ifdef LIBUSB_API_VERSION >= 0x01000105 + libusb_interrupt_event_handler(context_); +#else libusb_interrupt_handle_event(context_); +#endif } UsbContext::UsbContext(PlatformUsbContext context) : context_(context) {
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2