On 21 February 2016 at 22:35, Andreas Beckmann <a...@debian.org> wrote:
> Source: gbsplay
> Version: 0.0.93-1
> Severity: important
>
[...]
> gbsplay FTBFS on hurd-i386, kfreebsd-i386, kfreebsd-amd64 (but older
> versions  built successfully in the past on all these platforms):
[...]
> plugout_alsa.c: In function 'alsa_write':
> plugout_alsa.c:103:18: error: 'ESTRPIPE' undeclared (first use in this 
> function)
>    if (retval != -ESTRPIPE)
>                   ^
[...]

> If this probelm is not trivially fixable, please request decrufting
> of the outdated binary packages.

Hey,

In the gbsplay git repository there is this:

commit af783619b45d0def5824976b0af151bf2a3edc4e
Author: Tobias Diedrich <ranma+gbsp...@tdiedrich.de>
Date:   Tue Sep 1 23:59:31 2015 +0200

   Freebsd doesn't have ESTRPIPE.

   See 
https://buildd.debian.org/status/fetch.php?pkg=gbsplay&arch=kfreebsd-amd64&ver=0.0.93-1&stamp=1441131835&file=log

diff --git plugout_alsa.c plugout_alsa.c
index a026a74..89dc8d7 100644
--- plugout_alsa.c
+++ plugout_alsa.c
@@ -94,13 +94,22 @@ static long regparm alsa_open(enum plugout_endian
endian, long rate)
       return 0;
}

+static long is_suspended(snd_pcm_sframes_t retval)
+{
+#ifdef HAVE_ESTRPIPE
+       return retval == -ESTRPIPE;
+#else
+       return snd_pcm_state(pcm_handle) == SND_PCM_STATE_SUSPENDED;
+#endif
+}

[...]

So it seems like it should have been fixed already? Do you need to get
the latest version from git or does gbsplay need to make a new release
or something for you to pick this up?


Vegard

Reply via email to