git: 34bb38445b07 - main - libusb: Bump version to 1.0.27

From: ShengYi Hung <aokblast_at_FreeBSD.org>
Date: Fri, 14 Aug 2026 15:18:32 UTC
The branch main has been updated by aokblast:

URL: https://cgit.FreeBSD.org/src/commit/?id=34bb38445b0713f2a5ca5678852de0d4b0bb015a

commit 34bb38445b0713f2a5ca5678852de0d4b0bb015a
Author:     ShengYi Hung <aokblast@FreeBSD.org>
AuthorDate: 2026-06-23 14:46:20 +0000
Commit:     ShengYi Hung <aokblast@FreeBSD.org>
CommitDate: 2026-08-14 15:18:21 +0000

    libusb: Bump version to 1.0.27
    
    PR:             296234(exp-run)
    Relnotes:       yes
    Sponsored by:   The FreeBSD Foundation
    Differential Revision: https://reviews.freebsd.org/D57772
---
 UPDATING                    | 4 ++++
 lib/libusb/libusb-1.0.pc.in | 2 +-
 lib/libusb/libusb.h         | 2 +-
 lib/libusb/libusb10.c       | 2 +-
 4 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/UPDATING b/UPDATING
index 95161bc18230..fba3cf159402 100644
--- a/UPDATING
+++ b/UPDATING
@@ -27,6 +27,10 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 16.x IS SLOW:
 	world, or to merely disable the most expensive debugging functionality
 	at runtime, run "ln -s 'abort:false,junk:false' /etc/malloc.conf".)
 
+20260814:
+	libusb version has been upgraded to 1.0.27 compatible version.
+	All of the missing parts have been implemented.
+
 20260812:
 	The new video(4) framework has landed. <sys/videoio.h> is now provided
 	as the API for communicating with it. __FreeBSD_version has been bumped
diff --git a/lib/libusb/libusb-1.0.pc.in b/lib/libusb/libusb-1.0.pc.in
index 3a2f27cc52b8..03a5e49ed9e8 100644
--- a/lib/libusb/libusb-1.0.pc.in
+++ b/lib/libusb/libusb-1.0.pc.in
@@ -6,6 +6,6 @@ includedir=@includedir@
 
 Name: libusb-1.0
 Description: Library that abstracts ways to access USB devices (v1.0)
-Version: 1.0.16
+Version: 1.0.27
 Libs: -L${libdir} -lusb
 Cflags: -I${includedir}
diff --git a/lib/libusb/libusb.h b/lib/libusb/libusb.h
index 08f1ab5d4d7e..c432bb9f7793 100644
--- a/lib/libusb/libusb.h
+++ b/lib/libusb/libusb.h
@@ -34,7 +34,7 @@
 #include <sys/types.h>
 #endif
 
-#define	LIBUSB_API_VERSION 0x01000102
+#define	LIBUSB_API_VERSION 0x0100010A
 
 #define	LIBUSB_CALL
 
diff --git a/lib/libusb/libusb10.c b/lib/libusb/libusb10.c
index 2fc1dfe71f25..f1afc5e135e7 100644
--- a/lib/libusb/libusb10.c
+++ b/lib/libusb/libusb10.c
@@ -81,7 +81,7 @@ static void libusb10_submit_transfer_sub(struct libusb20_device *, uint8_t);
 static const struct libusb_version libusb_version = {
 	.major = 1,
 	.minor = 0,
-	.micro = 0,
+	.micro = 27,
 	.nano = 2016,
 	.rc = "",
 	.describe = "https://www.freebsd.org"