summaryrefslogtreecommitdiff
path: root/debian/patches/0003-Keep-foomatic-PPDs-recommended-stanzas-in-NickNames.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/0003-Keep-foomatic-PPDs-recommended-stanzas-in-NickNames.patch')
-rw-r--r--debian/patches/0003-Keep-foomatic-PPDs-recommended-stanzas-in-NickNames.patch37
1 files changed, 0 insertions, 37 deletions
diff --git a/debian/patches/0003-Keep-foomatic-PPDs-recommended-stanzas-in-NickNames.patch b/debian/patches/0003-Keep-foomatic-PPDs-recommended-stanzas-in-NickNames.patch
deleted file mode 100644
index 0da73cea6..000000000
--- a/debian/patches/0003-Keep-foomatic-PPDs-recommended-stanzas-in-NickNames.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-From: Till Kampetter <till.kampetter@gmail.com>
-Date: Tue, 9 Aug 2016 18:11:36 +0200
-Subject: Keep foomatic PPDs "(recommended)" stanzas in NickNames
-
-Bug-Upstream: https://github.com/OpenPrinting/cups/pull/33
----
- scheduler/cups-driverd.cxx | 10 ----------
- 1 file changed, 10 deletions(-)
-
-diff --git a/scheduler/cups-driverd.cxx b/scheduler/cups-driverd.cxx
-index 85516eb..874eb3c 100644
---- a/scheduler/cups-driverd.cxx
-+++ b/scheduler/cups-driverd.cxx
-@@ -240,7 +240,6 @@ add_ppd(const char *filename, /* I - PPD filename */
- const char *scheme) /* I - PPD scheme */
- {
- ppd_info_t *ppd; /* PPD */
-- char *recommended; /* Foomatic driver string */
-
-
- /*
-@@ -278,15 +277,6 @@ add_ppd(const char *filename, /* I - PPD filename */
- strlcpy(ppd->record.device_id, device_id, sizeof(ppd->record.device_id));
- strlcpy(ppd->record.scheme, scheme, sizeof(ppd->record.scheme));
-
-- /*
-- * Strip confusing (and often wrong) "recommended" suffix added by
-- * Foomatic drivers...
-- */
--
-- if ((recommended = strstr(ppd->record.make_and_model,
-- " (recommended)")) != NULL)
-- *recommended = '\0';
--
- /*
- * Add the PPD to the PPD arrays...
- */