FreeBSD Bugzilla – Attachment 89877 Details for
Bug 126922
devel/libusb : update for Network UPS Tools
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.03 KB, created by
Rene Ladan
on 2008-08-28 20:00:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Rene Ladan
Created:
2008-08-28 20:00:01 UTC
Size:
1.03 KB
patch
obsolete
>diff -ruN libusb/Makefile /usr/ports/devel/libusb/Makefile >--- libusb/Makefile 2008-04-14 14:25:21.000000000 +0200 >+++ /usr/ports/devel/libusb/Makefile 2008-08-28 20:25:33.000000000 +0200 >@@ -7,7 +7,7 @@ > > PORTNAME= libusb > PORTVERSION= 0.1.12 >-PORTREVISION= 2 >+PORTREVISION= 3 > CATEGORIES= devel > MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} > MASTER_SITE_SUBDIR= ${PORTNAME} >diff -ruN libusb/files/patch-bsd.c /usr/ports/devel/libusb/files/patch-bsd.c >--- libusb/files/patch-bsd.c 2006-07-30 13:48:24.000000000 +0200 >+++ /usr/ports/devel/libusb/files/patch-bsd.c 2008-08-28 20:19:22.000000000 +0200 >@@ -1,5 +1,14 @@ > --- bsd.c.orig Sun Jul 30 11:18:07 2006 > +++ bsd.c Sun Jul 30 11:20:30 2006 >+@@ -408,7 +408,7 @@ >+ /* Ensure the endpoint address is correct */ >+ ep |= USB_ENDPOINT_IN; >+ >+- fd = ensure_ep_open(dev, ep, O_RDONLY); >++ fd = ensure_ep_open(dev, ep, O_RDONLY | O_NONBLOCK); >+ if (fd < 0) { >+ if (usb_debug >= 2) { >+ #ifdef __FreeBSD_kernel__ > @@ -623,9 +623,21 @@ > > int usb_clear_halt(usb_dev_handle *dev, unsigned int ep)
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 126922
: 89877