mirror of
https://git.freebsd.org/ports.git
synced 2025-05-15 08:41:51 -04:00
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
11 lines
402 B
C++
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)
|