openbsd-ports/print/cups/patches/patch-backend_usb-unix_c
ajacoutot dd310005da Major update to cups-1.5.0.
Thanks to landry@ for the bulk testing.
2011-09-08 10:33:12 +00:00

16 lines
544 B
Plaintext

$OpenBSD: patch-backend_usb-unix_c,v 1.4 2011/09/08 10:33:12 ajacoutot Exp $
http://www.cups.org/str.php?L3028
--- backend/usb-unix.c.orig Fri May 20 05:49:49 2011
+++ backend/usb-unix.c Fri Sep 2 09:33:11 2011
@@ -179,7 +179,7 @@ print_device(const char *uri, /* I - Device URI */
lseek(print_fd, 0, SEEK_SET);
}
-#ifdef __sun
+#if defined(__sun) || defined(__OpenBSD__)
/*
* CUPS STR #3028: Solaris' usbprn driver apparently does not support
* select() or poll(), so we can't support the sidechannel either...