components/sox/patches/5.oss.c.patch
changeset 239 f5dbfc736a65
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/sox/patches/5.oss.c.patch	Thu May 12 13:33:56 2011 -0700
@@ -0,0 +1,13 @@
+--- sox-14.3.0/src/oss.c	Wed Aug 19 16:15:08 2009
++++ sox-14.3.0/src/oss.c.new	Wed Aug 19 16:23:46 2009
[email protected]@ -190,8 +190,10 @@
+         return (SOX_EOF);
+     }
+ 
++#if !defined sun
+     /* Change to non-buffered I/O */
+     setvbuf(ft->fp, NULL, _IONBF, sizeof(char) * file->size);
++#endif
+     return(SOX_SUCCESS);
+ }
+