[Pkg-mpd-commits] [SCM] Git repository for pkg-mpd branch, master, updated. debian/0.17.3-1-13-g6e3cca2
Florian Schlichting
fsfs at debian.org
Mon Apr 8 23:10:19 UTC 2013
The following commit has been merged in the master branch:
commit 09272a38760556bf71699cb2f4ed5824c899dab5
Author: Florian Schlichting <fsfs at debian.org>
Date: Tue Apr 9 00:48:17 2013 +0200
fix-ESTRPIPE.patch against build failures on kfreebsd and hurd
diff --git a/debian/patches/fix-ESTRPIPE.patch b/debian/patches/fix-ESTRPIPE.patch
new file mode 100644
index 0000000..4977535
--- /dev/null
+++ b/debian/patches/fix-ESTRPIPE.patch
@@ -0,0 +1,18 @@
+Description: (attempt to) fix build failure on kfreebsd and hurd
+ apparently, ESTRPIPE is not defined (but how did it ever build before??)
+Author: Florian Schlichting <fsfs at debian.org>
+Forwarded: no
+
+--- a/src/output/alsa_output_plugin.c
++++ b/src/output/alsa_output_plugin.c
+@@ -684,8 +684,10 @@
+ {
+ if (err == -EPIPE) {
+ g_debug("Underrun on ALSA device \"%s\"\n", alsa_device(ad));
++#ifdef ESTRPIPE
+ } else if (err == -ESTRPIPE) {
+ g_debug("ALSA device \"%s\" was suspended\n", alsa_device(ad));
++#endif
+ }
+
+ switch (snd_pcm_state(ad->pcm)) {
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..4a163b0
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+fix-ESTRPIPE.patch
--
Git repository for pkg-mpd
More information about the Pkg-mpd-commits
mailing list