Package: allegro4.4 / 2:4.4.3.1-2

fix_ftbfs_nonlinux.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: fix to build on non-Linux arches
 Define ESTRPIPE on non-Linux systems that don't have it.
Author: Steven Chamberlain <steven@pyro.eu.org>

--- a/src/unix/alsa9.c
+++ b/src/unix/alsa9.c
@@ -36,6 +36,10 @@
    #include <math.h>
 #endif
 
+/* Linux-kernel specific errnos */
+#ifndef ESTRPIPE
+#define ESTRPIPE 86
+#endif
 
 #ifndef SND_PCM_FORMAT_S16_NE
    #ifdef ALLEGRO_BIG_ENDIAN