git: libusb: Implement v1.0 libusb_get_port_number() API
Aaron LI
aly at crater.dragonflybsd.org
Sat Nov 8 21:24:18 PST 2025
commit b7cdd21eaa2f49f6aa6f00072f6dcb211cd90523
Author: Aaron LI <aly at aaronly.me>
Date: Sun Nov 9 13:08:19 2025 +0800
libusb: Implement v1.0 libusb_get_port_number() API
This function is also used by 'sysutils/nut' to scan the USB devices.
However, nut uses dlopen() to determine the presence of this API and
allows it to be absent.
Obtained-from: FreeBSD (commit 0f2c706643ff211ce1e1eb0cfbc3c05bc67f2311)
Summary of changes:
lib/libusb/Makefile | 1 +
lib/libusb/libusb.3 | 6 ++++++
lib/libusb/libusb.h | 1 +
lib/libusb/libusb10.c | 8 ++++++++
4 files changed, 16 insertions(+)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/b7cdd21eaa2f49f6aa6f00072f6dcb211cd90523
--
DragonFly BSD source repository
More information about the Commits
mailing list