Package: src:vorbisgain
Tags: patch

vorbisgain fails to build with a strict C99 compiler which does not
support implicit function declarations (for the isatty function).

(NB: Upstream may use DOS encoding for the files.)

diff -ur vorbisgain-0.36.orig/misc.c vorbisgain-0.36/misc.c
--- vorbisgain-0.36.orig/misc.c 2019-09-09 12:19:42.805189786 +0200
+++ vorbisgain-0.36/misc.c      2019-09-09 12:59:20.848918603 +0200
@@ -23,6 +23,7 @@
 #else /* WIN32 */
 #include <errno.h>
 #include <ctype.h>
+#include <unistd.h>
 
 #ifndef DISABLE_WINSIZE
 

Reply via email to