diff --git a/cups-str3285_v2.patch b/cups-str3285_v2.patch new file mode 100644 index 0000000..d447e68 --- /dev/null +++ b/cups-str3285_v2.patch @@ -0,0 +1,12 @@ +diff -up cups-1.4.1/cups/dest.c.str3285 cups-1.4.1/cups/dest.c +--- cups-1.4.1/cups/dest.c.str3285 2009-10-27 12:50:04.560012076 +0000 ++++ cups-1.4.1/cups/dest.c 2009-10-27 12:50:23.814012173 +0000 +@@ -549,7 +549,7 @@ cupsGetNamedDest(http_t *http, /* I + + if (!cups_get_sdests(http, op, name, 0, &dest)) + { +- if (op == CUPS_GET_DEFAULT) ++ if (op == CUPS_GET_DEFAULT || name) + return (NULL); + + /* diff --git a/cups-str3390.patch b/cups-str3390.patch new file mode 100644 index 0000000..a9d958d --- /dev/null +++ b/cups-str3390.patch @@ -0,0 +1,15 @@ +diff -up cups-1.4.1/cgi-bin/admin.c.str3390 cups-1.4.1/cgi-bin/admin.c +--- cups-1.4.1/cgi-bin/admin.c.str3390 2009-08-29 08:05:14.000000000 +0200 ++++ cups-1.4.1/cgi-bin/admin.c 2009-10-27 14:44:53.000000000 +0100 +@@ -1044,6 +1044,11 @@ do_am_printer(http_t *http, /* I - HTTP + if ((attr = ippFindAttribute(oldinfo, "printer-location", + IPP_TAG_TEXT)) != NULL) + cgiSetVariable("PRINTER_LOCATION", attr->values[0].string.text); ++ ++ if ((attr = ippFindAttribute(oldinfo, "printer-is-shared", ++ IPP_TAG_BOOLEAN)) != NULL) ++ cgiSetVariable("PRINTER_IS_SHARED", ++ attr->values[0].boolean ? "1" : "0"); + } + + cgiCopyTemplateLang("modify-printer.tmpl"); diff --git a/cups-str3391.patch b/cups-str3391.patch new file mode 100644 index 0000000..4e6cc7b --- /dev/null +++ b/cups-str3391.patch @@ -0,0 +1,196 @@ +diff -up cups-1.4.1/templates/add-printer.tmpl.str3391 cups-1.4.1/templates/add-printer.tmpl +--- cups-1.4.1/templates/add-printer.tmpl.str3391 2009-06-18 19:23:21.000000000 +0200 ++++ cups-1.4.1/templates/add-printer.tmpl 2009-10-27 15:08:45.000000000 +0100 +@@ -4,6 +4,10 @@ + +