FreeBSD Bugzilla – Attachment 194049 Details for
Bug 228789
[patch] devel/libsigrok: Import fix for some devices
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix
libsigrok.patch (text/plain), 2.30 KB, created by
Romain Tartière
on 2018-06-06 18:38:37 UTC
(
hide
)
Description:
Fix
Filename:
MIME Type:
Creator:
Romain Tartière
Created:
2018-06-06 18:38:37 UTC
Size:
2.30 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (révision 471866) >+++ Makefile (copie de travail) >@@ -3,6 +3,7 @@ > > PORTNAME= libsigrok > PORTVERSION= 0.5.0 >+PORTREVISION= 1 > CATEGORIES= devel > MASTER_SITES= http://sigrok.org/download/source/libsigrok/ > >Index: files/patch-src_hardware_chronovu-la_api.c >=================================================================== >--- files/patch-src_hardware_chronovu-la_api.c (nonexistent) >+++ files/patch-src_hardware_chronovu-la_api.c (copie de travail) >@@ -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: 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: files/patch-src_hardware_fx2lafw_api.c >=================================================================== >--- files/patch-src_hardware_fx2lafw_api.c (nonexistent) >+++ files/patch-src_hardware_fx2lafw_api.c (copie de travail) >@@ -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: 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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 228789
: 194049