cups/backport-Also-fix-cupsfilter.patch
2022-06-15 17:14:24 +08:00

32 lines
1.2 KiB
Diff

From 3a1a81d7b882c06451a39a19a87aca7ec44742e6 Mon Sep 17 00:00:00 2001
From: Michael R Sweet <michael.r.sweet@gmail.com>
Date: Wed, 12 Jan 2022 08:33:58 -0500
Subject: [PATCH] Also fix cupsfilter (Issue #323)
Reference:https://github.com/OpenPrinting/cups/commit/3a1a81d7b882c06451a39a19a87aca7ec44742e6
---
scheduler/cupsfilter.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/scheduler/cupsfilter.c b/scheduler/cupsfilter.c
index c6dbb8debb..a03e77de76 100644
--- a/scheduler/cupsfilter.c
+++ b/scheduler/cupsfilter.c
@@ -981,7 +981,6 @@ exec_filters(mime_type_t *srctype, /* I - Source type */
printer_info[255], /* PRINTER_INFO env variable */
printer_location[255], /* PRINTER_LOCATION env variable */
printer_name[255], /* PRINTER env variable */
- rip_max_cache[1024], /* RIP_MAX_CACHE */
userenv[1024], /* USER */
#if CUPS_SNAP
fontconfig_file[1024], /* FONTCONFIG_FILE */
@@ -1133,7 +1132,6 @@ exec_filters(mime_type_t *srctype, /* I - Source type */
envp[i ++] = printer_info;
envp[i ++] = printer_location;
envp[i ++] = printer_name;
- envp[i ++] = rip_max_cache;
envp[i ++] = userenv;
envp[i ++] = "CHARSET=utf-8";
if (final_content_type[0])