[Pkg-wmaker-commits] [wmrack] 83/97: debian/patches: (fix_-Wformat.patch) Fix compiler warnings.
Doug Torrance
dtorrance-guest at moszumanska.debian.org
Sat Aug 22 02:42:09 UTC 2015
This is an automated email from the git hooks/post-receive script.
dtorrance-guest pushed a commit to branch master
in repository wmrack.
commit f0823e85e1200857d8ec03673b731e912e8c8254
Author: Doug Torrance <dtorrance at monmouthcollege.edu>
Date: Mon Dec 22 10:38:47 2014 -0600
debian/patches: (fix_-Wformat.patch) Fix compiler warnings.
---
debian/patches/fix_-Wformat.patch | 24 ++++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 25 insertions(+)
diff --git a/debian/patches/fix_-Wformat.patch b/debian/patches/fix_-Wformat.patch
new file mode 100644
index 0000000..e2e0686
--- /dev/null
+++ b/debian/patches/fix_-Wformat.patch
@@ -0,0 +1,24 @@
+Description: Fix -Wformat compiler warnings.
+Author: Doug Torrance <dtorrance at monmouthcollege.edu>
+Last-Update: 2014-12-22
+
+--- a/wmrack.c
++++ b/wmrack.c
+@@ -652,7 +652,7 @@
+ /* add current track to playlist */
+ cdpl_add (playlist, cd, start_track);
+ sprintf (num, "%02d%02d", playlist->tracks,
+- playlist->track[playlist->tracks - 1]);
++ playlist->track[playlist->tracks - 1].num);
+ rack_popup (num);
+ }
+ }
+@@ -1488,7 +1488,7 @@
+ {
+ dev[0] = src[0] = '\0';
+
+- nfields = sscanf (line, "%s %d:%d %s", &dev, &left, &right, &src);
++ nfields = sscanf (line, "%s %d:%d %s", dev, &left, &right, src);
+
+ if (nfields >= 3) /* got at least the left & right info */
+ {
diff --git a/debian/patches/series b/debian/patches/series
index 7395101..6bf1530 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -4,3 +4,4 @@ update_autotools.patch
fix_hurd_ftbfs.patch
fix_kfreebsd_ftbfs.patch
update_makefile.patch
+fix_-Wformat.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmrack.git
More information about the Pkg-wmaker-commits
mailing list