[SCM] muse/master: Add patch to prevent FTBFS due to GCC's harden'd flags.
alessio at users.alioth.debian.org
alessio at users.alioth.debian.org
Mon Oct 24 23:59:26 UTC 2011
The following commit has been merged in the master branch:
commit 5befa3d3e7ffea5dcde6779b94d0d37d727cca6a
Author: Alessio Treglia <alessio at debian.org>
Date: Tue Oct 25 01:58:54 2011 +0200
Add patch to prevent FTBFS due to GCC's harden'd flags.
diff --git a/debian/patches/0002-gcc_hardening.patch b/debian/patches/0002-gcc_hardening.patch
new file mode 100644
index 0000000..ac22c09
--- /dev/null
+++ b/debian/patches/0002-gcc_hardening.patch
@@ -0,0 +1,18 @@
+Description: Prevent FTBFS with -Werror=format-security.
+Author: Alessio Treglia <alessio at debian.org>
+Forwarded: no
+---
+ synti/deicsonze/deicsonze.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- muse.orig/synti/deicsonze/deicsonze.cpp
++++ muse/synti/deicsonze/deicsonze.cpp
+@@ -1301,7 +1301,7 @@ void DeicsOnze::loadSutulaPresets()
+ file = fopen (presetPath.toLatin1().constData(), "rt");
+ if (file == NULL) {
+ printf("can't open ");
+- printf(presetPath.toLatin1().constData());
++ printf("%s", presetPath.toLatin1().constData());
+ printf("\n");
+ }
+ else
diff --git a/debian/patches/series b/debian/patches/series
index d75c4bd..9666589 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
0001-es_locale_fix.patch
+0002-gcc_hardening.patch
1001-buildsystem.patch
--
muse packaging
More information about the pkg-multimedia-commits
mailing list