pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/libusb1 libusb: update to 1.0.22
details: https://anonhg.NetBSD.org/pkgsrc/rev/c71ed7efe755
branches: trunk
changeset: 387787:c71ed7efe755
user: gdt <gdt%pkgsrc.org@localhost>
date: Sun Nov 25 17:03:34 2018 +0000
description:
libusb: update to 1.0.22
2018-03-24: v1.0.22:
* New libusb_set_option() API
* Fix transfer timeout not being cleared upon resubmission
* Report super speed plus devices on modern Linux and macOS
* Darwin: Improve support for macOS Sierra and High Sierra
* Darwin: SDK fixes and improvements
* Linux: Let initialization succeed when no devices are present
* Linux: Mark internal file descriptors with CLOEXEC flag
* Solaris: Add support for attach/detach kernel driver
* Windows: Add dynamic UsbDk backend selection
* Windows: Add isochronous transfer support via libusbK
* Windows: Add Visual Studio 2017 support
* Windows: Fix enumeration problems on Windows 8 and later
* Windows: Major rework of poll() emulation
* Windows: Numerous HID API fixes
* Windows: Support cancelation of individual transfers (Vista and later)
* Various other bug fixes and improvements
diffstat:
devel/libusb1/Makefile | 4 ++--
devel/libusb1/distinfo | 16 ++++++++--------
devel/libusb1/patches/patch-configure | 10 +++++-----
devel/libusb1/patches/patch-configure.ac | 10 +++++-----
devel/libusb1/patches/patch-libusb_os_sunos__usb.c | 18 +++++++++---------
5 files changed, 29 insertions(+), 29 deletions(-)
diffs (132 lines):
diff -r 28bc5919ccb0 -r c71ed7efe755 devel/libusb1/Makefile
--- a/devel/libusb1/Makefile Sun Nov 25 16:15:53 2018 +0000
+++ b/devel/libusb1/Makefile Sun Nov 25 17:03:34 2018 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.15 2017/10/02 13:20:28 leot Exp $
+# $NetBSD: Makefile,v 1.16 2018/11/25 17:03:34 gdt Exp $
-DISTNAME= libusb-1.0.21
+DISTNAME= libusb-1.0.22
PKGNAME= ${DISTNAME:S/libusb/libusb1/}
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libusb/}
diff -r 28bc5919ccb0 -r c71ed7efe755 devel/libusb1/distinfo
--- a/devel/libusb1/distinfo Sun Nov 25 16:15:53 2018 +0000
+++ b/devel/libusb1/distinfo Sun Nov 25 17:03:34 2018 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.8 2017/10/02 13:20:28 leot Exp $
+$NetBSD: distinfo,v 1.9 2018/11/25 17:03:34 gdt Exp $
-SHA1 (libusb-1.0.21.tar.bz2) = 54d71841542eb1a6f0b0420878a4d5434efe8d28
-RMD160 (libusb-1.0.21.tar.bz2) = 0257fc72b3b4dd6ed00132d3277cbe4feb041d2c
-SHA512 (libusb-1.0.21.tar.bz2) = 015ca07bdb559aa40af5db1302ab0b1c8a30d593699fe2f3c9f45162673dc7b608cecc58d60fde8f3bde2a68370794a045e8efa48fc55402eece11261e525762
-Size (libusb-1.0.21.tar.bz2) = 607417 bytes
-SHA1 (patch-configure) = b64f751a2d148b97833b47ecc5cd154a432d487d
-SHA1 (patch-configure.ac) = cc8a2c863060e3143f6953bbc19808b9fbec08c6
-SHA1 (patch-libusb_os_sunos__usb.c) = 06cdcead5cb915b4ee7f8ef19e8ff74644a9a93a
+SHA1 (libusb-1.0.22.tar.bz2) = 10116aa265aac4273a0c894faa089370262ec0dc
+RMD160 (libusb-1.0.22.tar.bz2) = 59b800abb0b4c088dbee950fa67bb31240b8a134
+SHA512 (libusb-1.0.22.tar.bz2) = 2a93ba48bb66b9775838c16d74f7269348d9bc163f94ccf2842d1108d95a41cf79f8c8065233bea410fb94261a462dbb08ecfa1a9b6d3ddf4a5980e6043f74f4
+Size (libusb-1.0.22.tar.bz2) = 598833 bytes
+SHA1 (patch-configure) = d6f020881db7ef798fc3f176b8e3f4fb2ab8e13b
+SHA1 (patch-configure.ac) = 0d338ad5ad1ac52e5e9b0622a4691a39c1f06c27
+SHA1 (patch-libusb_os_sunos__usb.c) = 4896e497d451487a09b3be9ad74f72595a441086
diff -r 28bc5919ccb0 -r c71ed7efe755 devel/libusb1/patches/patch-configure
--- a/devel/libusb1/patches/patch-configure Sun Nov 25 16:15:53 2018 +0000
+++ b/devel/libusb1/patches/patch-configure Sun Nov 25 17:03:34 2018 +0000
@@ -1,12 +1,12 @@
-$NetBSD: patch-configure,v 1.5 2017/10/02 13:20:28 leot Exp $
+$NetBSD: patch-configure,v 1.6 2018/11/25 17:03:34 gdt Exp $
prepare DragonFlyBSD backend support
---- configure.orig 2016-03-25 05:42:03.826039410 +0000
+--- configure.orig 2018-03-25 01:20:03.000000000 +0000
+++ configure
-@@ -11939,6 +11942,11 @@ $as_echo "OpenBSD" >&6; }
- backend="openbsd"
- threads="posix"
+@@ -16266,6 +16266,11 @@ $as_echo "OpenBSD" >&6; }
+ backend=openbsd
+ threads=posix
;;
+*-dragonfly*)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: DragonflyBSD (using OpenBSD backend)" >&5
diff -r 28bc5919ccb0 -r c71ed7efe755 devel/libusb1/patches/patch-configure.ac
--- a/devel/libusb1/patches/patch-configure.ac Sun Nov 25 16:15:53 2018 +0000
+++ b/devel/libusb1/patches/patch-configure.ac Sun Nov 25 17:03:34 2018 +0000
@@ -1,12 +1,12 @@
-$NetBSD: patch-configure.ac,v 1.5 2017/10/02 13:20:28 leot Exp $
+$NetBSD: patch-configure.ac,v 1.6 2018/11/25 17:03:34 gdt Exp $
prepare DragonFlyBSD support
---- configure.ac.orig 2015-09-05 17:20:40.000000000 +0000
+--- configure.ac.orig 2018-03-17 07:23:37.000000000 +0000
+++ configure.ac
@@ -72,6 +72,10 @@ case $host in
- backend="openbsd"
- threads="posix"
+ backend=openbsd
+ threads=posix
;;
+*-dragonfly*)
+ AC_MSG_RESULT([DragonflyBSD (using OpenBSD backend)])
@@ -14,4 +14,4 @@
+ ;;
*-netbsd*)
AC_MSG_RESULT([NetBSD])
- backend="netbsd"
+ backend=netbsd
diff -r 28bc5919ccb0 -r c71ed7efe755 devel/libusb1/patches/patch-libusb_os_sunos__usb.c
--- a/devel/libusb1/patches/patch-libusb_os_sunos__usb.c Sun Nov 25 16:15:53 2018 +0000
+++ b/devel/libusb1/patches/patch-libusb_os_sunos__usb.c Sun Nov 25 17:03:34 2018 +0000
@@ -1,9 +1,9 @@
-$NetBSD: patch-libusb_os_sunos__usb.c,v 1.2 2017/10/02 13:20:28 leot Exp $
+$NetBSD: patch-libusb_os_sunos__usb.c,v 1.3 2018/11/25 17:03:34 gdt Exp $
add di_prop_exists() for cases such as illumos not having the function yet
add timerfd support for cases such as illumos already having support
---- libusb/os/sunos_usb.c.orig 2016-04-01 02:22:35.735471484 +0000
+--- libusb/os/sunos_usb.c.orig 2018-03-17 07:23:37.000000000 +0000
+++ libusb/os/sunos_usb.c
@@ -1,6 +1,7 @@
/*
@@ -13,7 +13,7 @@
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
-@@ -38,6 +39,12 @@
+@@ -43,6 +44,12 @@
#include "libusbi.h"
#include "sunos_usb.h"
@@ -23,10 +23,10 @@
+}
+#endif
+
- /*
- * Backend functions
- */
-@@ -1254,6 +1261,13 @@
+ #define UPDATEDRV_PATH "/usr/sbin/update_drv"
+ #define UPDATEDRV "update_drv"
+
+@@ -1637,6 +1644,13 @@ sunos_usb_get_status(int fd)
return (status);
}
@@ -37,10 +37,10 @@
+}
+#endif
+
- const struct usbi_os_backend sunos_backend = {
+ const struct usbi_os_backend usbi_backend = {
.name = "Solaris",
.caps = 0,
-@@ -1286,6 +1300,9 @@
+@@ -1669,6 +1683,9 @@ const struct usbi_os_backend usbi_backen
.clear_transfer_priv = sunos_clear_transfer_priv,
.handle_transfer_completion = sunos_handle_transfer_completion,
.clock_gettime = sunos_clock_gettime,
Home |
Main Index |
Thread Index |
Old Index