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.diff -r1.6 -r1.7 pkgsrc/devel/libusb-compat/Makefile
(khorben)
@@ -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 | |||
3 | DISTNAME= libusb-compat-0.1.5 | 3 | DISTNAME= libusb-compat-0.1.6rc2 | |
4 | GITHUB_PROJECT= libusb-compat-0.1 | |||
5 | GITHUB_TAG= v0.1.6-rc2 | |||
4 | CATEGORIES= devel | 6 | CATEGORIES= devel | |
5 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libusb/libusb-compat-0.1/} | 7 | MASTER_SITES= ${MASTER_SITE_GITHUB:=libusb/} | |
6 | EXTRACT_SUFX= .tar.bz2 | |||
7 | 8 | |||
8 | MAINTAINER= pkgsrc-users@NetBSD.org | 9 | MAINTAINER= pkgsrc-users@NetBSD.org | |
9 | HOMEPAGE= https://github.com/libusb/libusb/wiki | 10 | HOMEPAGE= https://github.com/libusb/libusb/wiki | |
10 | COMMENT= USB access library version 0 compatibility layer on top of version 1 | 11 | COMMENT= USB access library version 0 compatibility layer on top of version 1 | |
11 | LICENSE= gnu-lgpl-v2.1 | 12 | LICENSE= gnu-lgpl-v2.1 | |
12 | 13 | |||
13 | USE_LIBTOOL= yes | 14 | USE_LIBTOOL= yes | |
14 | USE_TOOLS+= pkg-config | 15 | USE_TOOLS+= pkg-config | |
16 | USE_TOOLS+= aclocal autoconf automake autoheader | |||
15 | GNU_CONFIGURE= yes | 17 | GNU_CONFIGURE= yes | |
16 | PKGCONFIG_OVERRIDE+= libusb.pc.in | 18 | PKGCONFIG_OVERRIDE+= libusb.pc.in | |
17 | 19 | |||
18 | CPPFLAGS.SunOS+= -Du_int8_t=uint8_t | |||
19 | CPPFLAGS.SunOS+= -Du_int16_t=uint16_t | |||
20 | CPPFLAGS.SunOS+= -Du_int32_t=uint32_t | |||
21 | ||||
22 | CONFLICTS= libusb-[0-9]* | 20 | CONFLICTS= libusb-[0-9]* | |
23 | 21 | |||
22 | pre-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" |
@@ -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 | |||
3 | SHA1 (libusb-compat-0.1.5.tar.bz2) = 062319276d913c753a4b1341036e6a2e42abccc9 | 3 | SHA1 (libusb-compat-0.1.6rc2.tar.gz) = a398b24fab71e5742915a9eb7c8a389c7a492d57 | |
4 | RMD160 (libusb-compat-0.1.5.tar.bz2) = 1e4d8b9ea524818380c5a5f53d1d05dac37033cf | 4 | RMD160 (libusb-compat-0.1.6rc2.tar.gz) = aeaa6af3117c2e115b5e2a1b63698fa7857cfb0e | |
5 | SHA512 (libusb-compat-0.1.5.tar.bz2) = fe63bd1c65e67588a83ebfdd329025ecf75f33f877fb80dd83eb528df057efb591e010416027f9054294504562299166e8e2811a7681fa1967a03baae9b88857 | 5 | SHA512 (libusb-compat-0.1.6rc2.tar.gz) = 825de5ac7dd26255360320928f03c2fba6be3a822add489665b50a0ac1babc35f60eebad9095a2a345c56ebb96f04206e91fd45ad966977ebf482ddf4db1998e | |
6 | Size (libusb-compat-0.1.5.tar.bz2) = 276769 bytes | 6 | Size (libusb-compat-0.1.6rc2.tar.gz) = 37284 bytes |