summaryrefslogtreecommitdiff
path: root/debian/patches/0003-backend-Fix-a-compile-warning-that-popped-up-on-Debi.patch
diff options
context:
space:
mode:
authorDidier Raboud <odyx@debian.org>2018-09-26 09:47:37 +0200
committerDidier Raboud <odyx@debian.org>2018-09-30 11:05:03 +0200
commit34a143feb1c96b8eb1665cbaf86e101947a08428 (patch)
tree1efc7df5e2efd33cc0e52870766c0cbaa488306f /debian/patches/0003-backend-Fix-a-compile-warning-that-popped-up-on-Debi.patch
parent38c911ce9ad8d509bd1690355beb44140e623352 (diff)
parent73427b40bcf3e1e8d87d911b22b4ccb6db23791b (diff)
merge patched-debian/experimental into debian/experimental
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(",");
+ }