pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/libusb1
Module Name: pkgsrc
Committed By: gdt
Date: Sun Nov 25 17:03:34 UTC 2018
Modified Files:
pkgsrc/devel/libusb1: Makefile distinfo
pkgsrc/devel/libusb1/patches: patch-configure patch-configure.ac
patch-libusb_os_sunos__usb.c
Log Message:
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
To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 pkgsrc/devel/libusb1/Makefile
cvs rdiff -u -r1.8 -r1.9 pkgsrc/devel/libusb1/distinfo
cvs rdiff -u -r1.5 -r1.6 pkgsrc/devel/libusb1/patches/patch-configure \
pkgsrc/devel/libusb1/patches/patch-configure.ac
cvs rdiff -u -r1.2 -r1.3 \
pkgsrc/devel/libusb1/patches/patch-libusb_os_sunos__usb.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/libusb1/Makefile
diff -u pkgsrc/devel/libusb1/Makefile:1.15 pkgsrc/devel/libusb1/Makefile:1.16
--- pkgsrc/devel/libusb1/Makefile:1.15 Mon Oct 2 13:20:28 2017
+++ pkgsrc/devel/libusb1/Makefile Sun Nov 25 17:03:34 2018
@@ -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/}
Index: pkgsrc/devel/libusb1/distinfo
diff -u pkgsrc/devel/libusb1/distinfo:1.8 pkgsrc/devel/libusb1/distinfo:1.9
--- pkgsrc/devel/libusb1/distinfo:1.8 Mon Oct 2 13:20:28 2017
+++ pkgsrc/devel/libusb1/distinfo Sun Nov 25 17:03:34 2018
@@ -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
Index: pkgsrc/devel/libusb1/patches/patch-configure
diff -u pkgsrc/devel/libusb1/patches/patch-configure:1.5 pkgsrc/devel/libusb1/patches/patch-configure:1.6
--- pkgsrc/devel/libusb1/patches/patch-configure:1.5 Mon Oct 2 13:20:28 2017
+++ pkgsrc/devel/libusb1/patches/patch-configure Sun Nov 25 17:03:34 2018
@@ -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
Index: pkgsrc/devel/libusb1/patches/patch-configure.ac
diff -u pkgsrc/devel/libusb1/patches/patch-configure.ac:1.5 pkgsrc/devel/libusb1/patches/patch-configure.ac:1.6
--- pkgsrc/devel/libusb1/patches/patch-configure.ac:1.5 Mon Oct 2 13:20:28 2017
+++ pkgsrc/devel/libusb1/patches/patch-configure.ac Sun Nov 25 17:03:34 2018
@@ -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 @@ prepare DragonFlyBSD support
+ ;;
*-netbsd*)
AC_MSG_RESULT([NetBSD])
- backend="netbsd"
+ backend=netbsd
Index: pkgsrc/devel/libusb1/patches/patch-libusb_os_sunos__usb.c
diff -u pkgsrc/devel/libusb1/patches/patch-libusb_os_sunos__usb.c:1.2 pkgsrc/devel/libusb1/patches/patch-libusb_os_sunos__usb.c:1.3
--- pkgsrc/devel/libusb1/patches/patch-libusb_os_sunos__usb.c:1.2 Mon Oct 2 13:20:28 2017
+++ pkgsrc/devel/libusb1/patches/patch-libusb_os_sunos__usb.c Sun Nov 25 17:03:34 2018
@@ -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 @@ add timerfd support for cases such as il
*
* 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 @@ add timerfd support for cases such as il
+}
+#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 @@ add timerfd support for cases such as il
+}
+#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