summaryrefslogtreecommitdiff
path: root/debian/patches
diff options
context:
space:
mode:
authorTill Kamppeter <till.kamppeter@gmail.com>2010-12-16 00:01:16 +0100
committerTill Kamppeter <till.kamppeter@gmail.com>2010-12-16 00:01:16 +0100
commit9f7d1157bd3b205a739fca345a0558a035b83f51 (patch)
tree7f1e42dbfc7f3c1de23715fe6b24fbcbb8b4a41c /debian/patches
parentba49ab606cb10ae2b9b9900fd361bf264988261c (diff)
foomatic-filters 4.0.6-0ubuntu2ubuntu/4.0.6-0ubuntu2
Diffstat (limited to 'debian/patches')
-rw-r--r--debian/patches/foomatic-rip-read-multiple-input-files.patch11
-rw-r--r--debian/patches/series1
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