[SCM] mplayer/master.experimental: Fix FTBFS due to hardening.

micove-guest at users.alioth.debian.org micove-guest at users.alioth.debian.org
Tue Dec 2 21:14:12 UTC 2014


The following commit has been merged in the master.experimental branch:
commit 04afb7ca88447a92d5b472873ed9f8691d5aaed7
Author: Miguel A. Colón Vélez <debian.micove at gmail.com>
Date:   Tue Dec 2 00:33:45 2014 -0500

    Fix FTBFS due to hardening.

diff --git a/debian/patches/0002_hardening_format_security.patch b/debian/patches/0002_hardening_format_security.patch
new file mode 100644
index 0000000..8e4d5b2
--- /dev/null
+++ b/debian/patches/0002_hardening_format_security.patch
@@ -0,0 +1,15 @@
+Description: Patch to fix FTBFS due to hardening. (-Werror=format-security)
+Author: Miguel A. Colón Vélez <debian.micove at gmail.com>
+Forwarded: no
+
+--- mplayer-1.1.1+svn37328.orig/stream/stream_vstream.c
++++ mplayer-1.1.1+svn37328/stream/stream_vstream.c
+@@ -57,7 +57,7 @@ void vstream_error(const char *format, .
+     va_start(va, format);
+     vsnprintf(buf, 1024, format, va);
+     va_end(va);
+-    mp_msg(MSGT_STREAM, MSGL_ERR, buf);
++    mp_msg(MSGT_STREAM, MSGL_ERR, "%s", buf);
+ }
+
+ static struct stream_priv_s {
diff --git a/debian/patches/series b/debian/patches/series
index 524182f..fdc6995 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 0001_version.patch
+0002_hardening_format_security.patch
 23mplayer-debug-printf.patch
 50_Hurd_PATH_MAX.patch

-- 
mplayer packaging



More information about the pkg-multimedia-commits mailing list