diff options
| author | Kenneth Raplee <kenrap@FreeBSD.org> | 2026-11-09 04:27:44 +0000 |
|---|---|---|
| committer | Kenneth Raplee <kenrap@FreeBSD.org> | 2026-11-09 05:44:26 +0000 |
| commit | c1c8bc4a8ac5f6f2623402f1a5b06d3ff360ac60 (patch) | |
| tree | 50ab354fa7139023c5627b007c610b665b635570 /comms/lirc/files/patch-daemons_lircmd.c | |
| parent | 31363b8551ac3b98eb991be84e7c8b2f8c5aaabf (diff) | |
The libusb_set_option() call only exists in base libusb 1.0.27 and
later. The 2.2.2 source uses it unguarded to opt into the UsbDk backend
and to set the libusb log level, so 14.x and 15.x fail to build.
Guard the UsbDk opt-in call which targets the Windows USB DriverKit
backend. It existed nowhere in 1.4.2 heimdall before this. Fall back to
libusb_set_debug() for the log level used before 1.0.27.
Approved by: arrowd (co-mentor)
Diffstat (limited to 'comms/lirc/files/patch-daemons_lircmd.c')
0 files changed, 0 insertions, 0 deletions
