components/sox/patches/6.formats.c.patch
author Rich Burridge <rich.burridge@oracle.com>
Thu, 19 Sep 2013 10:15:45 -0700
changeset 1479 00fd84194115
parent 239 f5dbfc736a65
permissions -rw-r--r--
PSARC 2013/303 curl - scp / sftp support 15801026 SUNBT7180402 libcurl should provide sftp/scp URI support

--- sox-14.3.0/src/formats.c	Wed Aug 19 16:15:15 2009
+++ sox-14.3.0/src/formats.c.new	Wed Aug 19 16:23:06 2009
@@ -397,6 +397,8 @@
   fp->_r += AUTO_DETECT_SIZE;
 #elif defined __GLIBC__
   fp->_IO_read_ptr = fp->_IO_read_base;
+#elif defined sun
+  #define NO_REWIND_PIPE
 #elif defined _MSC_VER || defined __MINGW_H || defined _ISO_STDIO_ISO_H
   fp->_ptr = fp->_base;
 #else