View | Details | Raw Unified | Return to bug 126922
Collapse All | Expand All

(-)/usr/ports/devel/libusb/Makefile (-1 / +1 lines)
Lines 7-13 Link Here
7
7
8
PORTNAME=	libusb
8
PORTNAME=	libusb
9
PORTVERSION=	0.1.12
9
PORTVERSION=	0.1.12
10
PORTREVISION=	2
10
PORTREVISION=	3
11
CATEGORIES=	devel
11
CATEGORIES=	devel
12
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
12
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
13
MASTER_SITE_SUBDIR=	${PORTNAME}
13
MASTER_SITE_SUBDIR=	${PORTNAME}
(-)/usr/ports/devel/libusb/files/patch-bsd.c (+9 lines)
Lines 1-5 Link Here
1
--- bsd.c.orig	Sun Jul 30 11:18:07 2006
1
--- bsd.c.orig	Sun Jul 30 11:18:07 2006
2
+++ bsd.c	Sun Jul 30 11:20:30 2006
2
+++ bsd.c	Sun Jul 30 11:20:30 2006
3
@@ -408,7 +408,7 @@
4
   /* Ensure the endpoint address is correct */
5
   ep |= USB_ENDPOINT_IN;
6
7
-  fd = ensure_ep_open(dev, ep, O_RDONLY);
8
+  fd = ensure_ep_open(dev, ep, O_RDONLY | O_NONBLOCK);
9
   if (fd < 0) {
10
       if (usb_debug >= 2) {
11
  #ifdef __FreeBSD_kernel__
3
@@ -623,9 +623,21 @@
12
@@ -623,9 +623,21 @@
4
 
13
 
5
 int usb_clear_halt(usb_dev_handle *dev, unsigned int ep)
14
 int usb_clear_halt(usb_dev_handle *dev, unsigned int ep)

Return to bug 126922