openbsd-ports/sysutils/nut/patches/patch-drivers_blazer_usb_c
sthen 0eee9917de update to NUT 2.6.3.
- nut-scanner has been changed to dlopen()ing modules, so roll it into the
main package now this can be done without bringing in excess dependencies.
2012-01-11 16:01:33 +00:00

14 lines
452 B
Plaintext

$OpenBSD: patch-drivers_blazer_usb_c,v 1.3 2012/01/11 16:01:33 sthen Exp $
--- drivers/blazer_usb.c.orig Wed Jan 11 09:35:10 2012
+++ drivers/blazer_usb.c Wed Jan 11 13:21:37 2012
@@ -434,7 +434,9 @@ int blazer_command(const char *cmd, char *buf, size_t
case -ETIMEDOUT: /* Connection timed out */
case -EOVERFLOW: /* Value too large for defined data type */
+#ifdef EPROTO
case -EPROTO: /* Protocol error */
+#endif
default:
break;
}