From 5cbe7aab1e49318dc4c561eee1e387653304409e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Thu, 24 Feb 2022 09:43:51 +0100 Subject: New d/p/0115-Fix_text_filter.patch --- debian/changelog | 7 +++++++ debian/patches/0115-Fix_text_filter.patch | 16 ++++++++++++++++ debian/patches/series | 1 + 3 files changed, 24 insertions(+) create mode 100644 debian/patches/0115-Fix_text_filter.patch 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 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 -- cgit v1.2.3