[vorbis-tools] 01/03: Added dont-corrupt-stdout.patch to avoid printing version string to stdout when printing data to stdout (Closes: #595104). Patch from Joao Paulo Pinharanda Magalhaes.

Petter Reinholdtsen pere at moszumanska.debian.org
Wed Oct 22 09:41:05 UTC 2014


This is an automated email from the git hooks/post-receive script.

pere pushed a commit to branch master
in repository vorbis-tools.

commit 7c25da78881804f4dfd7d2785c6f98bb7379d51c
Author: Petter Reinholdtsen <pere at hungry.com>
Date:   Wed Oct 22 11:28:39 2014 +0200

    Added dont-corrupt-stdout.patch to avoid printing version string to stdout when printing data to stdout (Closes: #595104).  Patch from Joao Paulo Pinharanda Magalhaes.
---
 debian/patches/dont-corrupt-stdout.patch | 16 ++++++++++++++++
 debian/patches/series                    |  1 +
 2 files changed, 17 insertions(+)

diff --git a/debian/patches/dont-corrupt-stdout.patch b/debian/patches/dont-corrupt-stdout.patch
new file mode 100644
index 0000000..605e955
--- /dev/null
+++ b/debian/patches/dont-corrupt-stdout.patch
@@ -0,0 +1,16 @@
+Author: Joao Paulo Pinharanda Magalhaes <joaoppmagalhaes at gmail.com>
+Bugs-Debian: https://bugs.debian.org/595104
+
+diff --git a/oggdec/oggdec.c b/oggdec/oggdec.c
+index 5ffb125..a99f95d 100644
+--- a/oggdec/oggdec.c
++++ b/oggdec/oggdec.c
+@@ -47,7 +47,7 @@ unsigned char headbuf[44]; /* The whole buffer */
+ char *outfilename = NULL;
+ 
+ static void version (void) {
+-    fprintf(stdout, _("oggdec from %s %s\n"), PACKAGE, VERSION);
++    fprintf(stderr, _("oggdec from %s %s\n"), PACKAGE, VERSION);
+ }
+ 
+ static void usage(void)
diff --git a/debian/patches/series b/debian/patches/series
index 76e7d92..ec4d705 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 no_debian_subdir.diff
+dont-corrupt-stdout.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-xiph/vorbis-tools.git



More information about the pkg-xiph-commits mailing list