This is mintor, but maybe worth committing?
On Fri, Jan 15, 2021 at 04:42:16PM +, Mikolaj Kucharski wrote:
> Hi
>
> Below patches are merged into master on libusb repo. There is only one
> last patch left for libusb/libusb.h file, but not sure is that patch
> really needed today.
>
> Index: patch-libusb_core_c
> ===
> RCS file: /cvs/ports/devel/libusb1/patches/patch-libusb_core_c,v
> retrieving revision 1.6
> diff -u -p -u -r1.6 patch-libusb_core_c
> --- patch-libusb_core_c 27 Nov 2019 20:15:17 - 1.6
> +++ patch-libusb_core_c 15 Jan 2021 16:37:32 -
> @@ -3,6 +3,8 @@ $OpenBSD: patch-libusb_core_c,v 1.6 2019
> On OpenBSD USB controllers are shown as normal devices, making the
> itinial limit too small. On a recent machine this value is almost
> always exceeded, so bump it.
> +https://github.com/libusb/libusb/pull/835
> +https://github.com/libusb/libusb/commit/1f25bb7ff06e3864e8238ec118958d23800d7865
>
> Index: libusb/core.c
> --- libusb/core.c.orig
> Index: patch-libusb_os_openbsd_usb_c
> ===
> RCS file: /cvs/ports/devel/libusb1/patches/patch-libusb_os_openbsd_usb_c,v
> retrieving revision 1.10
> diff -u -p -u -r1.10 patch-libusb_os_openbsd_usb_c
> --- patch-libusb_os_openbsd_usb_c 5 Aug 2020 13:59:36 - 1.10
> +++ patch-libusb_os_openbsd_usb_c 15 Jan 2021 16:37:32 -
> @@ -2,11 +2,13 @@ $OpenBSD: patch-libusb_os_openbsd_usb_c,
>
> Export port number, fix github #314.
> https://github.com/libusb/libusb/pull/764
> +https://github.com/libusb/libusb/commit/96898a25ccfde6e87737991000a41695ed6b3812
>
> Fix an OpenBSD backend bug where an existing open file descriptor is
> overwritten if a libusb user attempts to open the same ugen(4) device
> multiple times. This was observed with sane-backends and broke scanning.
> https://github.com/libusb/libusb/pull/763
> +https://github.com/libusb/libusb/commit/94519df868e59a7ea133b12c92823733645f8877
>
> Index: libusb/os/openbsd_usb.c
> --- libusb/os/openbsd_usb.c.orig
>
--
Regards,
Mikolaj