summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2022-02-24 09:43:51 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2022-02-24 09:43:51 +0100
commit5cbe7aab1e49318dc4c561eee1e387653304409e (patch)
treee99e9a7a206518031566ad6406a35b8c16a18e31
parent6c3cdd3c894f978f8e206a14896945e9ca12ec1e (diff)
New d/p/0115-Fix_text_filter.patch
-rw-r--r--debian/changelog7
-rw-r--r--debian/patches/0115-Fix_text_filter.patch16
-rw-r--r--debian/patches/series1
3 files changed, 24 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index 98a28a4..1b4ea46 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+foomatic-filters (4.0.17-14) UNRELEASED; urgency=medium
+
+ * New debian/patches/0115-Fix_text_filter.patch (Closes: #776315):
+ - Fix error on handling text filter.
+
+ -- Jörg Frings-Fürst <debian@jff.email> Thu, 24 Feb 2022 08:07:44 +0100
+
foomatic-filters (4.0.17-13) unstable; urgency=medium
* Fix error processing package (Closes: #997318):
diff --git a/debian/patches/0115-Fix_text_filter.patch b/debian/patches/0115-Fix_text_filter.patch
new file mode 100644
index 0000000..652aa1b
--- /dev/null
+++ b/debian/patches/0115-Fix_text_filter.patch
@@ -0,0 +1,16 @@
+Index: trunk/fileconverter.c
+===================================================================
+--- trunk.orig/fileconverter.c
++++ trunk/fileconverter.c
+@@ -37,9 +37,9 @@
+ * is not set. (Except if the spooler is CUPS, then 'texttops' is used
+ */
+ const char *fileconverters[][2] = {
+- { "a2ps", "a2ps -1 @@--medium=@@PAGESIZE@@ @@--center-title=@@JOBTITLE@@ -o -" },
++ { "a2ps", "a2ps -1 @@--medium=@@PAGESIZE@@ @@--center-title=\"@@JOBTITLE@@ -o -" },
+ { "enscript", "enscript -G @@-M @@PAGESIZE@@ @@-b \"Page $%|@@JOBTITLE@@ --margins=36:36:36:36 --mark-wrapped-lines=arrow --word-wrap -p-" },
+- { "mpage", "mpage -o -1 @@-b @@PAGESIZE@@ @@-H -h @@JOBTITLE@@ -m36l36b36t36r -f -P- -" },
++ { "mpage", "mpage -o -1 @@-b @@PAGESIZE@@ @@-H -h \"@@JOBTITLE@@ -m36l36b36t36r -f -P- -" },
+ { "paps", "paps @@--paper @@PAGESIZE@@ --header --font=11.5" },
+ { NULL, NULL }
+ };
diff --git a/debian/patches/series b/debian/patches/series
index e6a186b..abbd0fe 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -4,3 +4,4 @@
0110-fixed-segfault-when-creating-logfile.patch
0001-paps.patch
0500-r7406_also_consider_the_back_tick_as_an_illegal_shell_escape_character.patch
+0115-Fix_text_filter.patch