summaryrefslogtreecommitdiffstats
path: root/cups-ps-command-filter.patch
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2011-12-27 16:50:50 +0100
committerRemi Collet <fedora@famillecollet.com>2011-12-27 16:50:50 +0100
commit65608e0f8bbc0190cc1b7646f653e796c807f02b (patch)
tree274ade8f5007bd7f9c252d8262637e0300363e82 /cups-ps-command-filter.patch
import cups from F16
Diffstat (limited to 'cups-ps-command-filter.patch')
-rw-r--r--cups-ps-command-filter.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/cups-ps-command-filter.patch b/cups-ps-command-filter.patch
new file mode 100644
index 0000000..88cd18b
--- /dev/null
+++ b/cups-ps-command-filter.patch
@@ -0,0 +1,13 @@
+diff -up cups-1.5.0/cups/ppd-cache.c.ps-command-filter cups-1.5.0/cups/ppd-cache.c
+--- cups-1.5.0/cups/ppd-cache.c.ps-command-filter 2011-11-04 13:10:34.405729542 +0000
++++ cups-1.5.0/cups/ppd-cache.c 2011-11-04 13:11:58.502184096 +0000
+@@ -1272,7 +1272,8 @@ _ppdCacheCreateWithPPD(ppd_file_t *ppd)
+
+ if (filter)
+ cupsArrayAdd(pc->filters,
+- "application/vnd.cups-command application/postscript 0 -");
++ "application/vnd.cups-command application/postscript 100 "
++ "commandtops");
+ }
+
+ if ((ppd_attr = ppdFindAttr(ppd, "cupsPreFilter", NULL)) != NULL)