tags 547525 + patch
thanks

Dear maintainer,

I've prepared an NMU for mpd (versioned as 0.15.3-1.1). The diff
is attached to this message.

Regards.
diff -u mpd-0.15.3/debian/changelog mpd-0.15.3/debian/changelog
--- mpd-0.15.3/debian/changelog
+++ mpd-0.15.3/debian/changelog
@@ -1,3 +1,11 @@
+mpd (0.15.3-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Apply patch taken from upstream to workaround tremor headers
+    (Closes: #547525) 
+
+ -- Christophe Mutricy <xto...@videolan.org>  Wed, 30 Sep 2009 19:56:48 +0200
+
 mpd (0.15.3-1) unstable; urgency=low
 
   * New upstream release
diff -u mpd-0.15.3/debian/patches/series mpd-0.15.3/debian/patches/series
--- mpd-0.15.3/debian/patches/series
+++ mpd-0.15.3/debian/patches/series
@@ -1 +1 @@
-
+10-ov_callback.diff
only in patch2:
unchanged:
--- mpd-0.15.3.orig/debian/patches/10-ov_callback.diff
+++ mpd-0.15.3/debian/patches/10-ov_callback.diff
@@ -0,0 +1,23 @@
+From a99202a8a4ebda1fcbedb3b024cab3b25c63adad Mon Sep 17 00:00:00 2001
+From: Max Kellermann<m...@duempel.org>
+Date: Thu, 10  Sep  2009  21:04:01  +0000
+Subject: decoder/vorbis: revert "faster tag scanning with ov_test_callback()"
+
+This patch made ov_time_total() unusable, and MPD did not know the
+duration of songs.
+---
+diff --git a/src/decoder/vorbis_plugin.c b/src/decoder/vorbis_plugin.c
+index 81950eb..d4f81e9 100644
+--- a/src/decoder/vorbis_plugin.c
++++ b/src/decoder/vorbis_plugin.c
+@@ -383,7 +383,7 @@ vorbis_tag_dup(const char *file)
+ 		return NULL;
+ 	}
+ 
+-	if (ov_test_callbacks(fp, &vf, NULL, 0, OV_CALLBACKS_STREAMONLY) < 0) {
++	if (ov_open(fp, &vf, NULL, 0) < 0) {
+ 		fclose(fp);
+ 		return NULL;
+ 	}
+--
+cgit v0.8.1-8-g7b5c

Reply via email to