summaryrefslogtreecommitdiff
path: root/debian/patches/0003-backend-Fix-a-compile-warning-that-popped-up-on-Debi.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/0003-backend-Fix-a-compile-warning-that-popped-up-on-Debi.patch')
-rw-r--r--debian/patches/0003-backend-Fix-a-compile-warning-that-popped-up-on-Debi.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/debian/patches/0003-backend-Fix-a-compile-warning-that-popped-up-on-Debi.patch b/debian/patches/0003-backend-Fix-a-compile-warning-that-popped-up-on-Debi.patch
new file mode 100644
index 0000000..3c5a760
--- /dev/null
+++ b/debian/patches/0003-backend-Fix-a-compile-warning-that-popped-up-on-Debi.patch
@@ -0,0 +1,22 @@
+From bcfbba4c2a422f7d4502b4712921fa0d70ad52e3 Mon Sep 17 00:00:00 2001
+From: Solomon Peachy <pizza@shaftnet.org>
+Date: Fri, 28 Sep 2018 11:03:53 -0400
+Subject: backend: Fix a compile warning that popped up on Debian 9
+
+---
+ src/cups/backend_common.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/cups/backend_common.c b/src/cups/backend_common.c
+index 09ea0785..09406f8b 100644
+--- a/src/cups/backend_common.c
++++ b/src/cups/backend_common.c
+@@ -1354,7 +1354,7 @@ void dump_markers(struct marker *markers, int marker_count, int full)
+
+ ATTR("marker-colors=");
+ for (i = 0 ; i < marker_count; i++) {
+- DEBUG2(markers[i].color);
++ DEBUG2("%s", markers[i].color);
+ if ((i+1) < marker_count)
+ DEBUG2(",");
+ }