[SCM] phasex/master: Prevent FTBFS with hardening, still WIP
alessio at users.alioth.debian.org
alessio at users.alioth.debian.org
Sat Jan 12 20:32:13 UTC 2013
The following commit has been merged in the master branch:
commit 31a0c2a167876b2aebf8ebdbb11423da06a90fb1
Author: Alessio Treglia <alessio at debian.org>
Date: Sat Jan 12 20:31:55 2013 +0000
Prevent FTBFS with hardening, still WIP
diff --git a/debian/patches/04-hardening.patch b/debian/patches/04-hardening.patch
new file mode 100644
index 0000000..bf90b67
--- /dev/null
+++ b/debian/patches/04-hardening.patch
@@ -0,0 +1,18 @@
+Description: Prevent FTBFS with -Werror=format-security flag enabled.
+Author: Alessio Treglia <alessio at debian.org>
+Forwarded: https://github.com/williamweston/phasex/issues/3
+---
+ src/alsa_seq.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- phasex.orig/src/alsa_seq.c
++++ phasex/src/alsa_seq.c
+@@ -65,7 +65,7 @@ alsa_error_handler(const char *file, int
+ {
+ PHASEX_ERROR("Unhandled ALSA error %d in function %s from file %s line %d:\n",
+ err, func, file, line);
+- PHASEX_ERROR(fmt);
++ PHASEX_ERROR("%s", fmt);
+ }
+
+
diff --git a/debian/patches/series b/debian/patches/series
index 1c58449..7749b74 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
02-gcc_flags.patch
03-binutils_gold.patch
+04-hardening.patch
--
phasex packaging
More information about the pkg-multimedia-commits
mailing list