]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r361977: libusb: improve compatibility
authorKyle Evans <kevans@FreeBSD.org>
Tue, 16 Jun 2020 12:21:55 +0000 (12:21 +0000)
committerKyle Evans <kevans@FreeBSD.org>
Tue, 16 Jun 2020 12:21:55 +0000 (12:21 +0000)
commit77d611a4d8da0a24549bc9428d3bef4c0c78717b
tree946965cb67a0167e3f7d3c968e744dff45f42372
parent3c73d3ecf8597a7b8f2492b40c51aa7591f12584
MFC r361977: libusb: improve compatibility

Specifically, add LIBUSB_CLASS_PHYSICAL and the libusb_has_capability API.
Descriptions and functionality for these derived from the
documentation at [0].  The current set of capabilities are all supported by
libusb.

These were detected as missing after updating net/freerdp to 2.1.1, which
attempted to use both.

[0] http://libusb.sourceforge.net/api-1.0/group__libusb__misc.html
lib/libusb/Makefile
lib/libusb/libusb.3
lib/libusb/libusb.h
lib/libusb/libusb10.c