diff options
author | joerg <joerg@FreeBSD.org> | 2005-10-28 17:36:19 +0800 |
---|---|---|
committer | joerg <joerg@FreeBSD.org> | 2005-10-28 17:36:19 +0800 |
commit | 4a475b1c1004a00929924bcf4fc3d28ed36883c8 (patch) | |
tree | bdb9475d1d603651a20eef6da0010b166c52458f /devel/libusb | |
parent | ea95d71fb856efc4e5edd49316fef3579d641320 (diff) | |
download | freebsd-ports-gnome-4a475b1c1004a00929924bcf4fc3d28ed36883c8.tar.gz freebsd-ports-gnome-4a475b1c1004a00929924bcf4fc3d28ed36883c8.tar.zst freebsd-ports-gnome-4a475b1c1004a00929924bcf4fc3d28ed36883c8.zip |
Oops, forgot to actually cvs add the patch in previous commit...
(Set USBD_SHORT_XFER_OK when reading strings.)
Diffstat (limited to 'devel/libusb')
-rw-r--r-- | devel/libusb/files/patch-bsd.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/libusb/files/patch-bsd.c b/devel/libusb/files/patch-bsd.c new file mode 100644 index 000000000000..f4b3c5373744 --- /dev/null +++ b/devel/libusb/files/patch-bsd.c @@ -0,0 +1,11 @@ +--- bsd.c.orig Wed Feb 18 07:34:52 2004 ++++ bsd.c Thu Jun 16 22:08:00 2005 +@@ -457,7 +457,7 @@ + USETW(req.ucr_request.wLength, size); + + req.ucr_data = bytes; +- req.ucr_flags = 0; ++ req.ucr_flags = USBD_SHORT_XFER_OK; + + ret = ioctl(dev->fd, USB_SET_TIMEOUT, &timeout); + #if (__NetBSD__ || __OpenBSD__) |