diff options
Diffstat (limited to 'debian/patches')
-rw-r--r-- | debian/patches/foomatic-rip-read-multiple-input-files.patch | 11 | ||||
-rw-r--r-- | debian/patches/series | 1 |
2 files changed, 12 insertions, 0 deletions
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 |