diff options
| author | Cy Schubert <cy@FreeBSD.org> | 2017-10-20 01:09:12 +0000 | 
|---|---|---|
| committer | Cy Schubert <cy@FreeBSD.org> | 2017-10-20 01:09:12 +0000 | 
| commit | 311484254aa3cb005ad31ec97afe3204fd5ade15 (patch) | |
| tree | eaba4b027e6bff90dcb6fcdf612c3170980fe740 /devel/flang/files/patch-runtime_flang_cexp.c | |
| parent | New port: devel/py-cdg (diff) | |
Nut USB drivers report a "permission error" without visible reasons
for the error even though permissions are OK (or the driver is run
as root).
Nut uses libusb-0.1 API, assuming return cods of < 0. FreeBSD provides
a libusb-0.1 wrapper howerver it uses libusb-1.0 error codes (which
are negative). This set of patches "teaches" nut libusb-1.0 error codes
as produced by FreeBSD.
Network UPS Tools (networkupstools.org) has a project to use libusb-1.0.
This commit is a stopgap fix until our upline implments lubusb-1.0
support in nut.
PR:		223117
Submitted by:	lev
Diffstat (limited to 'devel/flang/files/patch-runtime_flang_cexp.c')
0 files changed, 0 insertions, 0 deletions
