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-14 10:37:33 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2014-10-14 10:37:33 +0200
commit0cdca259ca073f77b9ae831feb367b6d120e83cf (patch)
tree50862cd94a3ee737ed614fd793821ba29c969ee7 /debian/patches/fix-FTBFS-format-not-a-string-literal-error.patch
parent82a152928f820a6aeb02ef8cd9ebfa7d3bcaae48 (diff)
some work for version 1.0.24-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')