Index: head/devel/libsigrok/Makefile =================================================================== --- head/devel/libsigrok/Makefile (revision 481951) +++ head/devel/libsigrok/Makefile (revision 481952) @@ -1,35 +1,37 @@ # Created by: Uffe Jakobsen # $FreeBSD$ PORTNAME= libsigrok PORTVERSION= 0.5.0 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= http://sigrok.org/download/source/libsigrok/ MAINTAINER= bsam@FreeBSD.org COMMENT= Framework for hardware logic analyzers, core library -LICENSE= GPLv3 +LICENSE= GPLv3+ +LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= doxygen:devel/doxygen LIB_DEPENDS= libftdi1.so:devel/libftdi1 \ libserialport.so:devel/libserialport \ libvisa.so:devel/librevisa \ libzip.so:archivers/libzip GNU_CONFIGURE= yes USES= pathfix libtool pkgconfig USE_GNOME= glib20 INSTALL_TARGET= install-strip MAKE_JOBS_UNSAFE= yes USE_LDCONFIG= yes USE_GNOME= glibmm INSTALLS_ICONS= yes post-patch: # libusb can be disabled via src.conf(5), so detect via pkg-config @${REINPLACE_CMD} -e 's/\(libusb-1\.0\) >= 1\.0\.[0-9]*/\1/' \ -e '/\*freebsd\*/,/;;/d' \ ${WRKSRC}/configure .include Index: head/devel/libsigrok/files/patch-src_hardware_chronovu-la_api.c =================================================================== --- head/devel/libsigrok/files/patch-src_hardware_chronovu-la_api.c (nonexistent) +++ head/devel/libsigrok/files/patch-src_hardware_chronovu-la_api.c (revision 481952) @@ -0,0 +1,15 @@ +--- src/hardware/chronovu-la/api.c.orig ++++ src/hardware/chronovu-la/api.c +@@ -200,10 +200,10 @@ + continue; + } + +- usb_get_port_path(devlist[i], connection_id, sizeof(connection_id)); +- + libusb_close(hdl); + ++ usb_get_port_path(devlist[i], connection_id, sizeof(connection_id)); ++ + if (!strcmp(product, "ChronoVu LA8")) { + model = 0; + } else if (!strcmp(product, "ChronoVu LA16")) { Property changes on: head/devel/libsigrok/files/patch-src_hardware_chronovu-la_api.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/devel/libsigrok/files/patch-src_hardware_fx2lafw_api.c =================================================================== --- head/devel/libsigrok/files/patch-src_hardware_fx2lafw_api.c (nonexistent) +++ head/devel/libsigrok/files/patch-src_hardware_fx2lafw_api.c (revision 481952) @@ -0,0 +1,15 @@ +--- src/hardware/fx2lafw/api.c.orig ++++ src/hardware/fx2lafw/api.c +@@ -325,10 +325,10 @@ + continue; + } + +- usb_get_port_path(devlist[i], connection_id, sizeof(connection_id)); +- + libusb_close(hdl); + ++ usb_get_port_path(devlist[i], connection_id, sizeof(connection_id)); ++ + prof = NULL; + for (j = 0; supported_fx2[j].vid; j++) { + if (des.idVendor == supported_fx2[j].vid && Property changes on: head/devel/libsigrok/files/patch-src_hardware_fx2lafw_api.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property