File cups-1.4-do_not_strip_recommended_from_PPDs.patch of Package cups.18911

--- scheduler/cups-driverd.cxx.orig	2009-06-09 00:00:14.000000000 +0200
+++ scheduler/cups-driverd.cxx	2009-07-01 14:38:44.000000000 +0200
@@ -211,7 +211,6 @@ add_ppd(const char *filename,		/* I - PP
 	const char *scheme)		/* I - PPD scheme */
 {
   ppd_info_t	*ppd;			/* PPD */
-  char		*recommended;		/* Foomatic driver string */
 
 
  /*
@@ -250,15 +249,6 @@ add_ppd(const char *filename,		/* I - PP
   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...
   */
 
openSUSE Build Service is sponsored by