Re: git: f84a0da4e060 - main - libusb: rename bNumDeviceCapabilities to bNumDeviceCaps for compatibility with libusb
Nuno Teixeira <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.cvs.src,gmane.os.freebsd.current.scm |
|---|---|
| Message-ID | <CAFDf7UJg6F6J9gAgBNfMH=cCLhH8U6cREj2tSeJyC+gndaYR7g@mail.gmail.com> |
ShengYi Hung <[email protected]> escreveu (quarta, 9/07/2025 à(s) 02:09): > > Hello. Do you mean LIBUSB20_NO_BACKWARDS_COMPAT applies only to > libusb20, or to both libusb10 and libusb20. Since I don't think there is > anyone use > libusb20 directly and the structure in libusb20 is for decoding only. Hello, Not sure if it is related but I've found sysutils/smartmontools failing build on main-n288444-850203655b7d: --- os_freebsd.o --- os_freebsd.cpp:2227:9: error: no matching function for call to 'libusb20_be_alloc_default' 2227 | pbe = libusb20_be_alloc_default(); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/libusb20.h:299:26: note: candidate function not viable: requires single argument 'pctx', but no arguments were provided 299 | struct libusb20_backend *libusb20_be_alloc_default(struct libusb20_be_ctx *pctx); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. *** [os_freebsd.o] Error code 1 make[1]: stopped making "all-am" in /wrkdirs/usr/ports/sysutils/smartmontools/work/smartmontools-7.5 --- utility.o --- utility.cpp:910:12: warning: 'snprintf' will always be truncated; specified size is 8, but format string expands to at least 10 [-Wformat-truncation] 910 | int n1 = snprintf(buf, 8, "123456789"); | ^ 1 warning generated. Thanks, -- Nuno Teixeira FreeBSD UNIX: <[email protected]> Web: https://FreeBSD.org