diff options
-rw-r--r-- | debian/changelog | 8 | ||||
-rw-r--r-- | debian/patches/foomatic-rip-read-multiple-input-files.patch | 11 | ||||
-rw-r--r-- | debian/patches/series | 1 |
3 files changed, 20 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog index 7b8068a..607c9f2 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +foomatic-filters (4.0.6-0ubuntu2) natty; urgency=low + + * debian/patches/foomatic-rip-read-multiple-input-files.patch: foomatic-rip + printed only the first file supplied on the command line when multiple + files are supplied (spooler-less printing mode, LP: #676680). + + -- Till Kamppeter <till.kamppeter@gmail.com> Wed, 15 Dec 2010 23:59:03 +0100 + foomatic-filters (4.0.6-0ubuntu1) natty; urgency=low * New upstream release diff --git a/debian/patches/foomatic-rip-read-multiple-input-files.patch b/debian/patches/foomatic-rip-read-multiple-input-files.patch new file mode 100644 index 0000000..30dc65c --- /dev/null +++ b/debian/patches/foomatic-rip-read-multiple-input-files.patch @@ -0,0 +1,11 @@ +--- a/foomaticrip.c ++++ b/foomaticrip.c +@@ -1383,7 +1383,7 @@ + dstrcpyf(filelist, "<STDIN>"); + + /* Check filelist */ +- p = strtok(filelist->data, " "); ++ p = strtok(strdup(filelist->data), " "); + while (p) { + if (strcmp(p, "<STDIN>") != 0) { + if (p[0] == '-') diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..40c8e30 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +foomatic-rip-read-multiple-input-files.patch |