developer/check: configure: WARNING: filterdiff not installed; build will not be...
[oi-userland.git] / components / multimedia / sox / patches / 6.formats.c.patch
blob25f585e5d094f1622964b50fe8ce2f0f1f08bd3c
1 --- sox-14.4.2/src/formats.c.orig
2 +++ sox-14.4.2/src/formats.c
3 @@ -415,6 +415,8 @@
4 fp->_r += PIPE_AUTO_DETECT_SIZE;
5 #elif defined __GLIBC__
6 fp->_IO_read_ptr = fp->_IO_read_base;
7 +#elif defined sun
8 + #define NO_REWIND_PIPE
9 #elif defined _MSC_VER || defined _WIN32 || defined _WIN64 || \
10 defined _ISO_STDIO_ISO_H || defined __sgi
11 fp->_ptr = fp->_base;