summaryrefslogtreecommitdiffstats
path: root/cups-str3921.patch
diff options
context:
space:
mode:
Diffstat (limited to 'cups-str3921.patch')
-rw-r--r--cups-str3921.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/cups-str3921.patch b/cups-str3921.patch
new file mode 100644
index 0000000..d370e38
--- /dev/null
+++ b/cups-str3921.patch
@@ -0,0 +1,14 @@
+diff -up cups-1.5.0/scheduler/cups-driverd.cxx.str3921 cups-1.5.0/scheduler/cups-driverd.cxx
+--- cups-1.5.0/scheduler/cups-driverd.cxx.str3921 2011-06-08 22:19:11.000000000 +0100
++++ cups-1.5.0/scheduler/cups-driverd.cxx 2011-10-11 12:07:34.979538544 +0100
+@@ -1411,9 +1411,7 @@ load_drv(const char *filename, /* I -
+ * Add a dummy entry for the file...
+ */
+
+- httpAssembleURIf(HTTP_URI_CODING_ALL, uri, sizeof(uri), "drv", "", "", 0,
+- "/%s", name);
+- add_ppd(name, uri, "", "", "", "", "", "", mtime, size, 0,
++ add_ppd(name, name, "", "", "", "", "", "", mtime, size, 0,
+ PPD_TYPE_DRV, "drv");
+ ChangedPPD = 1;
+