mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-18 03:46:03 +00:00
- Unbreak some drivers by importing patch from upstream
PR: 228789 Submitted by: romain Approved by: maintainer timeout (bsam, 4 months)
This commit is contained in:
parent
5c6c44ee79
commit
b687f9e8ff
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=481952
@ -3,13 +3,15 @@
|
||||
|
||||
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 \
|
||||
|
15
devel/libsigrok/files/patch-src_hardware_chronovu-la_api.c
Normal file
15
devel/libsigrok/files/patch-src_hardware_chronovu-la_api.c
Normal file
@ -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")) {
|
15
devel/libsigrok/files/patch-src_hardware_fx2lafw_api.c
Normal file
15
devel/libsigrok/files/patch-src_hardware_fx2lafw_api.c
Normal file
@ -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 &&
|
Loading…
Reference in New Issue
Block a user