summaryrefslogtreecommitdiff
path: root/print/cups/patches/patch-au
blob: 5554fa8fcc8084fcfc6c8b257cf52f167141262e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
$NetBSD: patch-au,v 1.7 2007/04/03 15:23:23 gdt Exp $

This has been filed upstream as:

  http://www.cups.org/str.php?L2324

--- backend/usb-unix.c.orig	2007-02-20 08:41:07.000000000 -0500
+++ backend/usb-unix.c
@@ -90,6 +90,11 @@ print_device(const char *uri,		/* I - De
              strcasecmp(hostname, "Konica Minolta") &&
              strcasecmp(hostname, "Minolta");
 
+#ifdef __NetBSD__
+    /* XXX Use configure test to see if reading from ulpt(4) works. */
+    use_bc = 0;
+#endif
+
     if ((device_fd = open_device(uri, &use_bc)) == -1)
     {
       if (getenv("CLASS") != NULL)