freebsd-ports/comms/libticables/files/patch-src-slv_link.c
Pav Lucistnik 300621442f - Always use libusb
- Remove auto*tools support
- Bump PORTREVISION

PR:		ports/64627
Submitted by:	Tijl Coosemans <tijl@ulyssis.org> (maintainer)
2004-03-24 22:57:34 +00:00

18 lines
370 B
C

--- src/slv_link.c.orig Wed Aug 27 11:34:38 2003
+++ src/slv_link.c Tue Mar 23 16:09:02 2004
@@ -1423,6 +1423,7 @@
MAX_PACKET_SIZE, (time_out * 10));
*/
+#ifndef __BSD__
/* Reset endpoints */
ret = usb_clear_halt(tigl_han, TIGL_BULK_OUT);
if (ret < 0) {
@@ -1455,6 +1456,7 @@
}
}
}
+#endif
/* Reset buffers */
nBytesRead = 0;