This should not be needed anymore.
This commit is contained in:
parent
7e89bc9c45
commit
f5218cc0ba
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.173 2014/03/09 21:46:34 ajacoutot Exp $
|
||||
# $OpenBSD: Makefile,v 1.174 2014/04/03 12:50:20 ajacoutot Exp $
|
||||
|
||||
COMMENT-main= Common Unix Printing System
|
||||
COMMENT-libs= CUPS libraries and headers
|
||||
@ -10,7 +10,8 @@ EXTRACT_SUFX= .tar.bz2
|
||||
PKGNAME-main= cups-${VERSION}
|
||||
PKGNAME-libs= cups-libs-${VERSION}
|
||||
|
||||
REVISION-main= 1
|
||||
REVISION-main= 2
|
||||
REVISION-libs= 0
|
||||
|
||||
CATEGORIES= print sysutils
|
||||
|
||||
|
@ -1,24 +0,0 @@
|
||||
$OpenBSD: patch-backend_usb-libusb_c,v 1.8 2013/09/25 08:39:26 ajacoutot Exp $
|
||||
|
||||
http://www.cups.org/str.php?L4088
|
||||
|
||||
--- backend/usb-libusb.c.orig Tue Jul 23 14:31:34 2013
|
||||
+++ backend/usb-libusb.c Wed Sep 25 10:07:16 2013
|
||||
@@ -1473,9 +1473,14 @@ open_device(usb_printer_t *printer, /* I - Printer */
|
||||
else
|
||||
{
|
||||
printer->usblp_attached = 0;
|
||||
- fprintf(stderr, "DEBUG: Failed to check whether %04x:%04x has the \"usblp\" kernel module attached\n",
|
||||
- devdesc.idVendor, devdesc.idProduct);
|
||||
- goto error;
|
||||
+
|
||||
+ if (errcode != LIBUSB_ERROR_NOT_SUPPORTED)
|
||||
+ {
|
||||
+ fprintf(stderr,
|
||||
+ "DEBUG: Failed to check whether %04x:%04x has the \"usblp\" "
|
||||
+ "kernel module attached\n", devdesc.idVendor, devdesc.idProduct);
|
||||
+ goto error;
|
||||
+ }
|
||||
}
|
||||
|
||||
/*
|
Loading…
x
Reference in New Issue
Block a user