summaryrefslogtreecommitdiff
path: root/debian/patches/fix-FTBFS-format-not-a-string-literal-error.patch
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2014-10-06 14:00:40 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2014-10-06 14:00:40 +0200
commit6e9c41a892ed0e0da326e0278b3221ce3f5713b8 (patch)
tree2e301d871bbeeb44aa57ff9cc070fcf3be484487 /debian/patches/fix-FTBFS-format-not-a-string-literal-error.patch
Initial import of sane-backends version 1.0.24-1.2
Diffstat (limited to 'debian/patches/fix-FTBFS-format-not-a-string-literal-error.patch')
-rw-r--r--debian/patches/fix-FTBFS-format-not-a-string-literal-error.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/debian/patches/fix-FTBFS-format-not-a-string-literal-error.patch b/debian/patches/fix-FTBFS-format-not-a-string-literal-error.patch
new file mode 100644
index 0000000..d6d5009
--- /dev/null
+++ b/debian/patches/fix-FTBFS-format-not-a-string-literal-error.patch
@@ -0,0 +1,28 @@
+From: Markus Koschany <apo@gambaru.de>
+Date: Thu, 27 Jun 2013 12:12:40 +0200
+Subject: fix FTBFS format not a string literal error
+
+---
+ frontend/scanimage.c | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+--- a/frontend/scanimage.c
++++ b/frontend/scanimage.c
+@@ -1894,7 +1894,7 @@
+ printf (start, int_arg);
+ break;
+ case 0:
+- printf (start);
++ printf ("%s", start);
+ break;
+ }
+ *percent = cc;
+@@ -1908,7 +1908,7 @@
+ }
+ }
+ if (*start)
+- printf (start);
++ printf ("%s", start);
+ }
+ }
+ if (i == 0 && ch != 'f')