From 67d1edc0190c8ed044a76f10c10dc2d9f3bb6361 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?IOhannes=20m=20zm=C3=B6lnig?=
 <zmoelnig@umlautQ.umlaeute.mur.at>
Date: Sun, 24 Jan 2016 22:00:39 +0100
Subject: [PATCH] Backported patch to fix format-security errors

---
 debian/patches/format-security.patch | 22 ++++++++++++++++++++++
 debian/patches/series                |  1 +
 2 files changed, 23 insertions(+)
 create mode 100644 debian/patches/format-security.patch

diff --git a/debian/patches/format-security.patch b/debian/patches/format-security.patch
new file mode 100644
index 0000000..1584434
--- /dev/null
+++ b/debian/patches/format-security.patch
@@ -0,0 +1,22 @@
+Description: fix format-security errors
+Author: IOhannes m zmölnig
+Origin: upstream
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- pd-lua.orig/pdlua.c
++++ pd-lua/pdlua.c
+@@ -1643,10 +1643,10 @@
+     post(compiled);
+     post(luaversionStr);
+ #else
+-    logpost(NULL, 3, pdluaver);
+-    logpost(NULL, 3, luaver);
+-    logpost(NULL, 3, compiled);
+-    logpost(NULL, 3, luaversionStr);
++    logpost(NULL, 3, "%s", pdluaver);
++    logpost(NULL, 3, "%s", luaver);
++    logpost(NULL, 3, "%s", compiled);
++    logpost(NULL, 3, "%s", luaversionStr);
+ #endif
+     pdlua_proxyinlet_setup();
+     PDLUA_DEBUG("pdlua pdlua_proxyinlet_setup done", 0);
diff --git a/debian/patches/series b/debian/patches/series
index e69de29..96ffb92 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -0,0 +1 @@
+format-security.patch
-- 
GitLab