[med-svn] [gdcm] 04/05: Add fprintf save format patch
Gert Wollny
gert-guest at moszumanska.debian.org
Mon Aug 22 11:46:57 UTC 2016
This is an automated email from the git hooks/post-receive script.
gert-guest pushed a commit to branch master
in repository gdcm.
commit 8f50a5706a2e5ddcdc2953451455050d1a53e57b
Author: Gert Wollny <gw.fossdev at gmail.com>
Date: Sat Aug 20 17:16:53 2016 +0000
Add fprintf save format patch
---
debian/changelog | 1 +
debian/patches/format-error.patch | 15 +++++++++++++++
debian/patches/series | 1 +
3 files changed, 17 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 4864450..3e4cda0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ gdcm (2.6.5-1) UNRELEASED; urgency=medium
* New upstream release, Closes: #834802
Closes: #828964
+ * d/p/format-error: Add patch to satisfy -Wformat-error
-- Gert Wollny <gw.fossdev at gmail.com> Sat, 20 Aug 2016 16:55:32 +0000
diff --git a/debian/patches/format-error.patch b/debian/patches/format-error.patch
new file mode 100644
index 0000000..5008a79
--- /dev/null
+++ b/debian/patches/format-error.patch
@@ -0,0 +1,15 @@
+Description: Correct the fprintf call to ensure save format string
+Author: Gert Wollny <gw.fossdev at gmail.com>
+Forwarded: https://sourceforge.net/p/gdcm/bugs/401/
+
+--- a/Source/MediaStorageAndFileFormat/gdcmJPEG2000Codec.cxx
++++ b/Source/MediaStorageAndFileFormat/gdcmJPEG2000Codec.cxx
+@@ -302,7 +302,7 @@
+ else
+ #endif
+ {
+- fprintf( stderr, msg );
++ fprintf( stderr, "%s", msg );
+ }
+ }
+
diff --git a/debian/patches/series b/debian/patches/series
index 9e084ff..eb7b849 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
02_fixhurd.patch
03_linkvtkdoc.patch
04_multiarch.patch
+format-error.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/gdcm.git
More information about the debian-med-commit
mailing list