Sat Dec 16 22:53:15 2017 UTC ()
Update devel/libusb-compat to version 0.1.6-rc2 (as 0.1.6rc2 here)

From the ChangeLog:

    tag the 0.1.6-rc1 release
    Add -no-undefined to LDFLAGS
    Add some missing definitions
    Use C99 standard fixed width integer types in usb.h
    Prevent libusb-1.0 library symbol clash
    Add a library destructor to handle cleaning up libusb.
    Revert "Link with -znodelete to disallow unloading"
    Revert "use atexit() to call libusb_exit()"
    Link with -znodelete to disallow unloading

Also changes the master site to GitHub.

Tested on NetBSD/amd64.

TODO: offer as an alternative to devel/libusb.


(khorben)
diff -r1.6 -r1.7 pkgsrc/devel/libusb-compat/Makefile
diff -r1.3 -r1.4 pkgsrc/devel/libusb-compat/distinfo

cvs diff -r1.6 -r1.7 pkgsrc/devel/libusb-compat/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/libusb-compat/Makefile 2017/09/30 07:44:12 1.6
+++ pkgsrc/devel/libusb-compat/Makefile 2017/12/16 22:53:15 1.7
@@ -1,25 +1,26 @@ @@ -1,25 +1,26 @@
1# $NetBSD: Makefile,v 1.6 2017/09/30 07:44:12 wiz Exp $ 1# $NetBSD: Makefile,v 1.7 2017/12/16 22:53:15 khorben Exp $
2 2
3DISTNAME= libusb-compat-0.1.5 3DISTNAME= libusb-compat-0.1.6rc2
 4GITHUB_PROJECT= libusb-compat-0.1
 5GITHUB_TAG= v0.1.6-rc2
4CATEGORIES= devel 6CATEGORIES= devel
5MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libusb/libusb-compat-0.1/} 7MASTER_SITES= ${MASTER_SITE_GITHUB:=libusb/}
6EXTRACT_SUFX= .tar.bz2 
7 8
8MAINTAINER= pkgsrc-users@NetBSD.org 9MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= https://github.com/libusb/libusb/wiki 10HOMEPAGE= https://github.com/libusb/libusb/wiki
10COMMENT= USB access library version 0 compatibility layer on top of version 1 11COMMENT= USB access library version 0 compatibility layer on top of version 1
11LICENSE= gnu-lgpl-v2.1 12LICENSE= gnu-lgpl-v2.1
12 13
13USE_LIBTOOL= yes 14USE_LIBTOOL= yes
14USE_TOOLS+= pkg-config 15USE_TOOLS+= pkg-config
 16USE_TOOLS+= aclocal autoconf automake autoheader
15GNU_CONFIGURE= yes 17GNU_CONFIGURE= yes
16PKGCONFIG_OVERRIDE+= libusb.pc.in 18PKGCONFIG_OVERRIDE+= libusb.pc.in
17 19
18CPPFLAGS.SunOS+= -Du_int8_t=uint8_t 
19CPPFLAGS.SunOS+= -Du_int16_t=uint16_t 
20CPPFLAGS.SunOS+= -Du_int32_t=uint32_t 
21 
22CONFLICTS= libusb-[0-9]* 20CONFLICTS= libusb-[0-9]*
23 21
 22pre-configure:
 23 cd ${WRKSRC} && sh autogen.sh
 24
24.include "../../devel/libusb1/buildlink3.mk" 25.include "../../devel/libusb1/buildlink3.mk"
25.include "../../mk/bsd.pkg.mk" 26.include "../../mk/bsd.pkg.mk"

cvs diff -r1.3 -r1.4 pkgsrc/devel/libusb-compat/distinfo (expand / switch to unified diff)

--- pkgsrc/devel/libusb-compat/distinfo 2015/11/03 03:27:46 1.3
+++ pkgsrc/devel/libusb-compat/distinfo 2017/12/16 22:53:15 1.4
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1$NetBSD: distinfo,v 1.3 2015/11/03 03:27:46 agc Exp $ 1$NetBSD: distinfo,v 1.4 2017/12/16 22:53:15 khorben Exp $
2 2
3SHA1 (libusb-compat-0.1.5.tar.bz2) = 062319276d913c753a4b1341036e6a2e42abccc9 3SHA1 (libusb-compat-0.1.6rc2.tar.gz) = a398b24fab71e5742915a9eb7c8a389c7a492d57
4RMD160 (libusb-compat-0.1.5.tar.bz2) = 1e4d8b9ea524818380c5a5f53d1d05dac37033cf 4RMD160 (libusb-compat-0.1.6rc2.tar.gz) = aeaa6af3117c2e115b5e2a1b63698fa7857cfb0e
5SHA512 (libusb-compat-0.1.5.tar.bz2) = fe63bd1c65e67588a83ebfdd329025ecf75f33f877fb80dd83eb528df057efb591e010416027f9054294504562299166e8e2811a7681fa1967a03baae9b88857 5SHA512 (libusb-compat-0.1.6rc2.tar.gz) = 825de5ac7dd26255360320928f03c2fba6be3a822add489665b50a0ac1babc35f60eebad9095a2a345c56ebb96f04206e91fd45ad966977ebf482ddf4db1998e
6Size (libusb-compat-0.1.5.tar.bz2) = 276769 bytes 6Size (libusb-compat-0.1.6rc2.tar.gz) = 37284 bytes