From e9d64b85536bb5b3750e44eca2398934b3b442ba Mon Sep 17 00:00:00 2001 From: Tim Waugh Date: Tue, 15 Jul 2008 12:26:10 +0000 Subject: [PATCH] Rediff direct-usb patch. --- cups-direct-usb.patch | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/cups-direct-usb.patch b/cups-direct-usb.patch index 3d357bd..2724fad 100644 --- a/cups-direct-usb.patch +++ b/cups-direct-usb.patch @@ -1,7 +1,8 @@ ---- cups-1.2.11/backend/usb-unix.c.direct-usb 2007-05-04 15:03:02.000000000 +0100 -+++ cups-1.2.11/backend/usb-unix.c 2007-06-13 16:46:56.000000000 +0100 -@@ -101,6 +101,9 @@ - strcasecmp(hostname, "Minolta"); +diff -up cups-1.3.7/backend/usb-unix.c.direct-usb cups-1.3.7/backend/usb-unix.c +--- cups-1.3.7/backend/usb-unix.c.direct-usb 2008-03-26 16:02:45.000000000 +0000 ++++ cups-1.3.7/backend/usb-unix.c 2008-07-15 13:25:56.000000000 +0100 +@@ -94,6 +94,9 @@ print_device(const char *uri, /* I - De + strncasecmp(hostname, "Minolta", 7); #endif /* __FreeBSD__ || __NetBSD__ || __OpenBSD__ || __DragonFly__ */ + if (use_bc && !strncmp(uri, "usb:/dev/", 9)) @@ -10,7 +11,7 @@ if ((device_fd = open_device(uri, &use_bc)) == -1) { if (getenv("CLASS") != NULL) -@@ -317,12 +320,7 @@ +@@ -320,12 +323,7 @@ open_device(const char *uri, /* I - Dev if (!strncmp(uri, "usb:/dev/", 9)) #ifdef __linux {