ports/sysutils/android-file-transfer/files/patch-mtp_backend_libusb_usb_Context.cpp
gatekeeper 437113a921 sysutils/android-file-transfer: update to 4.3
Submitter takes maintainership.
Remove Python option because this port install files under
PYTHON_SITELIBDIR (must use pyXY prefix).
Disable libusb debug option in code: this makes the software much more
clean and usable in the command line.
Pet portfmt.

PR:		279895
2024-07-23 07:03:26 +02:00

11 lines
402 B
C++

--- mtp/backend/libusb/usb/Context.cpp.orig 2024-07-16 19:25:15 UTC
+++ mtp/backend/libusb/usb/Context.cpp
@@ -27,7 +27,7 @@ namespace mtp { namespace usb
Context::Context(int debugLevel)
{
USB_CALL(libusb_init(&_ctx));
- libusb_set_debug(_ctx, debugLevel);
+ //libusb_set_debug(_ctx, debugLevel);
libusb_device **devs;
int count = libusb_get_device_list(_ctx, &devs);
if (count < 0)